fixed build warnings and eliminated a few bugs

git-svn-id: svn://10.0.0.236/trunk@39854 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
rickg%netscape.com
1999-07-17 10:06:04 +00:00
parent 88de910d8b
commit d2e7d9fb04
8 changed files with 58 additions and 14 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);
}
}