From 12e89d8fccafed591925e9b97ff8e5b51ec1c175 Mon Sep 17 00:00:00 2001 From: "warren@netscape.com" Date: Fri, 29 Oct 1999 03:19:11 +0000 Subject: [PATCH] Took out bogus error message. --- xpcom/base/nsTraceRefcnt.cpp | 2 -- xpcom/base/nsTraceRefcntImpl.cpp | 2 -- 2 files changed, 4 deletions(-) diff --git a/xpcom/base/nsTraceRefcnt.cpp b/xpcom/base/nsTraceRefcnt.cpp index 151c39c4de2a..68542f271a0a 100644 --- a/xpcom/base/nsTraceRefcnt.cpp +++ b/xpcom/base/nsTraceRefcnt.cpp @@ -334,8 +334,6 @@ nsTraceRefcnt::DumpStatistics(StatisticsType type, FILE* out) nsresult rv = NS_OK; #ifdef NS_BUILD_REFCNT_LOGGING if (gBloatLog == nsnull || gBloatView == nsnull) { - fprintf(stdout, "### ERROR: Can't dump bloat statistics because XPCOM_MEM_BLOAT_LOG isn't set.\n"); - fflush(stdout); return NS_ERROR_FAILURE; } if (out == nsnull) { diff --git a/xpcom/base/nsTraceRefcntImpl.cpp b/xpcom/base/nsTraceRefcntImpl.cpp index 151c39c4de2a..68542f271a0a 100644 --- a/xpcom/base/nsTraceRefcntImpl.cpp +++ b/xpcom/base/nsTraceRefcntImpl.cpp @@ -334,8 +334,6 @@ nsTraceRefcnt::DumpStatistics(StatisticsType type, FILE* out) nsresult rv = NS_OK; #ifdef NS_BUILD_REFCNT_LOGGING if (gBloatLog == nsnull || gBloatView == nsnull) { - fprintf(stdout, "### ERROR: Can't dump bloat statistics because XPCOM_MEM_BLOAT_LOG isn't set.\n"); - fflush(stdout); return NS_ERROR_FAILURE; } if (out == nsnull) {