removed a few warnings

This commit is contained in:
rickg%netscape.com 2001-01-08 06:21:00 +00:00
parent 729c505bf3
commit c1629cfcea
4 changed files with 4 additions and 10 deletions

View File

@ -476,7 +476,7 @@ PRBool CDTDDebug::Verify(nsIDTD * aDTD, nsIParser * aParser, int aContextStackP
//ok, now see if we understand this vector
nsParser* theParser=(nsParser*)aParser;
// nsParser* theParser=(nsParser*)aParser;
if(0!=mVerificationDir || mRecordingStatistics) {

View File

@ -1299,10 +1299,7 @@ CToken* nsTokenAllocator::CreateTokenOfType(eHTMLTokenTypes aType,eHTMLTags aTag
#ifdef DEBUG_TRACK_NODES
static nsCParserNode* gAllNodes[100];
static nsCParserNode* gLooseNodes[100];
static int gAllNodeCount=0;
static int gLooseNodeCount=0;
int FindNode(nsCParserNode *aNode) {
int theIndex=0;
@ -1319,7 +1316,7 @@ void AddNode(nsCParserNode *aNode) {
gAllNodes[gAllNodeCount++]=aNode;
}
else {
int x=10; //you tried to recycle a node twice!
//you tried to recycle a node twice!
}
}

View File

@ -476,7 +476,7 @@ PRBool CDTDDebug::Verify(nsIDTD * aDTD, nsIParser * aParser, int aContextStackP
//ok, now see if we understand this vector
nsParser* theParser=(nsParser*)aParser;
// nsParser* theParser=(nsParser*)aParser;
if(0!=mVerificationDir || mRecordingStatistics) {

View File

@ -1299,10 +1299,7 @@ CToken* nsTokenAllocator::CreateTokenOfType(eHTMLTokenTypes aType,eHTMLTags aTag
#ifdef DEBUG_TRACK_NODES
static nsCParserNode* gAllNodes[100];
static nsCParserNode* gLooseNodes[100];
static int gAllNodeCount=0;
static int gLooseNodeCount=0;
int FindNode(nsCParserNode *aNode) {
int theIndex=0;
@ -1319,7 +1316,7 @@ void AddNode(nsCParserNode *aNode) {
gAllNodes[gAllNodeCount++]=aNode;
}
else {
int x=10; //you tried to recycle a node twice!
//you tried to recycle a node twice!
}
}