Fixing build error -- the instance variables
mComputedCRC32 and mExpectedCRC32 were only being defined in the DEBUG build although they are used throughout CNavDTD.cpp and it cannot be built in non-debug mode. git-svn-id: svn://10.0.0.236/trunk@21259 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
a8d48b571d
commit
68e65f5b6f
@ -527,10 +527,14 @@ protected:
|
||||
PRInt32 mLineNumber;
|
||||
nsParser* mParser;
|
||||
nsITokenizer* mTokenizer;
|
||||
#ifdef NS_DEBUG
|
||||
|
||||
// FAILING to define these variables causes
|
||||
// the non-debug build to fail. -- gpk
|
||||
//#ifdef NS_DEBUG
|
||||
PRUint32 mComputedCRC32;
|
||||
PRUint32 mExpectedCRC32;
|
||||
#endif
|
||||
//#endif
|
||||
|
||||
};
|
||||
|
||||
extern NS_HTMLPARS nsresult NS_NewNavHTMLDTD(nsIDTD** aInstancePtrResult);
|
||||
|
||||
@ -527,10 +527,14 @@ protected:
|
||||
PRInt32 mLineNumber;
|
||||
nsParser* mParser;
|
||||
nsITokenizer* mTokenizer;
|
||||
#ifdef NS_DEBUG
|
||||
|
||||
// FAILING to define these variables causes
|
||||
// the non-debug build to fail. -- gpk
|
||||
//#ifdef NS_DEBUG
|
||||
PRUint32 mComputedCRC32;
|
||||
PRUint32 mExpectedCRC32;
|
||||
#endif
|
||||
//#endif
|
||||
|
||||
};
|
||||
|
||||
extern NS_HTMLPARS nsresult NS_NewNavHTMLDTD(nsIDTD** aInstancePtrResult);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user