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:
kostello%netscape.com 1999-02-19 02:35:58 +00:00
parent a8d48b571d
commit 68e65f5b6f
2 changed files with 12 additions and 4 deletions

View File

@ -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);

View File

@ -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);