mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-04-02 20:42:49 +00:00
removed a few warnings
This commit is contained in:
parent
729c505bf3
commit
c1629cfcea
@ -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) {
|
||||
|
||||
|
@ -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!
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -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) {
|
||||
|
||||
|
@ -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!
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user