summaryrefslogtreecommitdiffstats
path: root/base/logging.cc
diff options
context:
space:
mode:
authorbradnelson@google.com <bradnelson@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2012-09-23 03:53:54 +0000
committerbradnelson@google.com <bradnelson@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2012-09-23 03:53:54 +0000
commite7777b45527394485259abfaae1a2b313b4e888a (patch)
tree238683c1e3891712632a2aa6f6a606f1b058b05a /base/logging.cc
parent6d1db74e78ec273a01ea98c80f0b5cd7a1ca84e9 (diff)
downloadchromium_src-e7777b45527394485259abfaae1a2b313b4e888a.zip
chromium_src-e7777b45527394485259abfaae1a2b313b4e888a.tar.gz
chromium_src-e7777b45527394485259abfaae1a2b313b4e888a.tar.bz2
Supressing unreferenced variable warning in nacl build.
g_vlog_info_prev is not currently referenced in the nacl build of logging.cc. Cast to void to suppress warning and reduce build spew. BUG=http://code.google.com/p/chromium/issues/detail?id=148648 TEST=no spew on incremental R=bbudge@chromium.org,brettw@chromium.org Review URL: https://chromiumcodereview.appspot.com/10960029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@158201 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/logging.cc')
-rw-r--r--base/logging.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/base/logging.cc b/base/logging.cc
index d30b219..7f9caff 100644
--- a/base/logging.cc
+++ b/base/logging.cc
@@ -394,6 +394,7 @@ bool BaseInitLoggingImpl(const PathChar* new_log_file,
return InitializeLogFileHandle();
#else
+ (void) g_vlog_info_prev;
return true;
#endif // !defined(OS_NACL)
}