fixed bugs 10104 and 10107 -- also removed warnings

git-svn-id: svn://10.0.0.236/trunk@40247 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
rickg%netscape.com
1999-07-20 06:58:01 +00:00
parent 0a606c6019
commit bb00524732
18 changed files with 46 additions and 26 deletions

View File

@@ -55,7 +55,7 @@ nsCParserNode::nsCParserNode(CToken* aToken,PRInt32 aLineNumber,nsITokenRecycler
static void RecycleTokens(nsITokenRecycler* aRecycler,nsDeque& aDeque) {
CToken* theToken=0;
if(aRecycler) {
while(theToken=((CToken*)aDeque.Pop())){
while((theToken=(CToken*)aDeque.Pop())){
aRecycler->RecycleToken(theToken);
}
}