diff options
author | mark@chromium.org <mark@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-09-10 00:16:28 +0000 |
---|---|---|
committer | mark@chromium.org <mark@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-09-10 00:16:28 +0000 |
commit | 11b901ee17f1ef5aa41c70046b7a5360534c633d (patch) | |
tree | 9dd5ca2b4ec4864658218126afc2f813a2c32c68 /net/disk_cache/trace.cc | |
parent | 64f5c3c6952e4861a269dd8e0d396ecea584ffa1 (diff) | |
download | chromium_src-11b901ee17f1ef5aa41c70046b7a5360534c633d.zip chromium_src-11b901ee17f1ef5aa41c70046b7a5360534c633d.tar.gz chromium_src-11b901ee17f1ef5aa41c70046b7a5360534c633d.tar.bz2 |
Use gcc 4.2 for the Mac build. Fix up new warnings and errors pointed out
by gcc 4.2:
warning: 'C' has a field 'C::m_' whose type uses the anonymous namespace
warning: missing braces around initializer for 'S'
error: extra qualification 'C::' on member 'm'
Review URL: http://codereview.chromium.org/1675
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1955 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/disk_cache/trace.cc')
-rw-r--r-- | net/disk_cache/trace.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/disk_cache/trace.cc b/net/disk_cache/trace.cc index 3aba306..02d5ceb 100644 --- a/net/disk_cache/trace.cc +++ b/net/disk_cache/trace.cc @@ -30,8 +30,6 @@ struct TraceBuffer { char buffer[kNumberOfEntries][kEntrySize]; }; -TraceBuffer* s_trace_buffer = NULL; - void DebugOutput(const char* msg) { #if defined(OS_WIN) OutputDebugStringA(msg); @@ -46,6 +44,8 @@ namespace disk_cache { #if ENABLE_TRACING +static TraceBuffer* s_trace_buffer = NULL; + bool InitTrace(void) { DCHECK(!s_trace_buffer); if (s_trace_buffer) |