gLogModule defined only inside of NS_DEBUG. Protecting access.

git-svn-id: svn://10.0.0.236/trunk@43387 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
dp%netscape.com
1999-08-17 01:28:58 +00:00
parent 64c4198ede
commit 941e69bc5b
2 changed files with 2 additions and 2 deletions

View File

@@ -2566,7 +2566,7 @@ nsWebShell::GetURL(PRInt32 aHistoryIndex, const PRUnichar** aURLResult)
void
nsWebShell::ShowHistory()
{
#ifdef OLD_HISTORY
#if defined(OLD_HISTORY) && defined(NS_DEBUG)
if (WEB_LOG_TEST(gLogModule, WEB_TRACE_HISTORY)) {
PRInt32 i, n = mHistory.Count();
for (i = 0; i < n; i++) {