bug #78658: checking in Chris Seawoods trivial fix to prevent writing to the console in optimized builds, sr=scc (myself)

git-svn-id: svn://10.0.0.236/trunk@94159 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
scc%mozilla.org
2001-05-07 23:36:59 +00:00
parent a7016d33a1
commit 7abd9ae877
4 changed files with 8 additions and 4 deletions

View File

@@ -1599,7 +1599,7 @@ NS_COM int fputs(const nsString& aString, FILE* out)
* @update gess 11/15/99
*/
void nsString::DebugDump(void) const {
#ifdef DEBUG
const char* theBuffer=mStr;
nsCAutoString temp;
@@ -1611,6 +1611,7 @@ void nsString::DebugDump(void) const {
if(theBuffer) {
printf("\n%s",theBuffer);
}
#endif
}