Changeset 220565 in webkit


Ignore:
Timestamp:
Aug 10, 2017 5:29:03 PM (7 years ago)
Author:
Yusuke Suzuki
Message:

Unreviewed, suppress warnings on GCC

  • TestWebKitAPI/Tests/WTF/CheckedArithmeticOperations.cpp:

(TestWebKitAPI::CheckedArithmeticTester::run):

Location:
trunk/Tools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/ChangeLog

    r220563 r220565  
     12017-08-10  Yusuke Suzuki  <utatane.tea@gmail.com>
     2
     3        Unreviewed, suppress warnings on GCC
     4
     5        * TestWebKitAPI/Tests/WTF/CheckedArithmeticOperations.cpp:
     6        (TestWebKitAPI::CheckedArithmeticTester::run):
     7
    182017-08-10  Dan Bernstein  <mitz@apple.com>
    29
  • trunk/Tools/TestWebKitAPI/Tests/WTF/CheckedArithmeticOperations.cpp

    r220403 r220565  
    170170        Checked<type, OverflowCrashLogger> ovalue; // to hold an overflowed value.
    171171
    172 #if COMPILER(GCC)
    173 #pragma GCC diagnostic push
    174 #pragma GCC diagnostic ignored "-Wunused-but-set-variable"
    175 #endif
    176172        bool unused;
    177 #if COMPILER(GCC)
    178 #pragma GCC diagnostic pop
    179 #endif
     173        UNUSED_PARAM(unused);
    180174
    181175        _value = 75;
Note: See TracChangeset for help on using the changeset viewer.