Commit f1ae6548 authored by dbates@webkit.org's avatar dbates@webkit.org

ANGLE fails to build with trunk clang: unused constant kTraceBufferLen

https://bugs.webkit.org/show_bug.cgi?id=125164
https://code.google.com/p/angleproject/issues/detail?id=534

Reviewed by Darin Adler.

Move the definition of the constant kTraceBufferLen under the macro
guard TRACE_ENABLED since it's only referenced in code guarded by
TRACE_ENABLED.

* src/compiler/debug.cpp:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@160018 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent d507d58d
2013-12-03 Daniel Bates <dabates@apple.com>
ANGLE fails to build with trunk clang: unused constant kTraceBufferLen
https://bugs.webkit.org/show_bug.cgi?id=125164
https://code.google.com/p/angleproject/issues/detail?id=534
Reviewed by Darin Adler.
Move the definition of the constant kTraceBufferLen under the macro
guard TRACE_ENABLED since it's only referenced in code guarded by
TRACE_ENABLED.
* src/compiler/debug.cpp:
2013-11-21 Alex Christensen <achristensen@webkit.org>
Remove ANGLEGenerated from Windows build.
......
......@@ -14,9 +14,9 @@
#include "compiler/InitializeParseContext.h"
#include "compiler/ParseContext.h"
#ifdef TRACE_ENABLED
static const int kTraceBufferLen = 1024;
#ifdef TRACE_ENABLED
extern "C" {
void Trace(const char *format, ...) {
if (!format) return;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment