Changeset 160018 in webkit


Ignore:
Timestamp:
Dec 3, 2013 11:31:21 AM (10 years ago)
Author:
dbates@webkit.org
Message:

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:
Location:
trunk/Source/ThirdParty/ANGLE
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/ThirdParty/ANGLE/ChangeLog

    r159681 r160018  
     12013-12-03  Daniel Bates  <dabates@apple.com>
     2
     3        ANGLE fails to build with trunk clang: unused constant kTraceBufferLen
     4        https://bugs.webkit.org/show_bug.cgi?id=125164
     5        https://code.google.com/p/angleproject/issues/detail?id=534
     6
     7        Reviewed by Darin Adler.
     8
     9        Move the definition of the constant kTraceBufferLen under the macro
     10        guard TRACE_ENABLED since it's only referenced in code guarded by
     11        TRACE_ENABLED.
     12
     13        * src/compiler/debug.cpp:
     14
    1152013-11-21  Alex Christensen  <achristensen@webkit.org>
    216
  • trunk/Source/ThirdParty/ANGLE/src/compiler/debug.cpp

    r159533 r160018  
    1515#include "compiler/ParseContext.h"
    1616
     17#ifdef TRACE_ENABLED
    1718static const int kTraceBufferLen = 1024;
    1819
    19 #ifdef TRACE_ENABLED
    2020extern "C" {
    2121void Trace(const char *format, ...) {
Note: See TracChangeset for help on using the changeset viewer.