Title: [220565] trunk/Tools
Revision
220565
Author
utatane....@gmail.com
Date
2017-08-10 17:29:03 -0700 (Thu, 10 Aug 2017)

Log Message

Unreviewed, suppress warnings on GCC

* TestWebKitAPI/Tests/WTF/CheckedArithmeticOperations.cpp:
(TestWebKitAPI::CheckedArithmeticTester::run):

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (220564 => 220565)


--- trunk/Tools/ChangeLog	2017-08-11 00:23:36 UTC (rev 220564)
+++ trunk/Tools/ChangeLog	2017-08-11 00:29:03 UTC (rev 220565)
@@ -1,3 +1,10 @@
+2017-08-10  Yusuke Suzuki  <utatane....@gmail.com>
+
+        Unreviewed, suppress warnings on GCC
+
+        * TestWebKitAPI/Tests/WTF/CheckedArithmeticOperations.cpp:
+        (TestWebKitAPI::CheckedArithmeticTester::run):
+
 2017-08-10  Dan Bernstein  <m...@apple.com>
 
         [Xcode] With Xcode 9 developer beta, everything rebuilds when switching between command-line and IDE

Modified: trunk/Tools/TestWebKitAPI/Tests/WTF/CheckedArithmeticOperations.cpp (220564 => 220565)


--- trunk/Tools/TestWebKitAPI/Tests/WTF/CheckedArithmeticOperations.cpp	2017-08-11 00:23:36 UTC (rev 220564)
+++ trunk/Tools/TestWebKitAPI/Tests/WTF/CheckedArithmeticOperations.cpp	2017-08-11 00:29:03 UTC (rev 220565)
@@ -169,14 +169,8 @@
         Checked<type, OverflowCrashLogger> nvalue; // to hold a not overflowed value.
         Checked<type, OverflowCrashLogger> ovalue; // to hold an overflowed value.
 
-#if COMPILER(GCC)
-#pragma GCC diagnostic push
-#pragma GCC diagnostic ignored "-Wunused-but-set-variable"
-#endif
         bool unused;
-#if COMPILER(GCC)
-#pragma GCC diagnostic pop
-#endif
+        UNUSED_PARAM(unused);
 
         _value = 75;
         type _largeValue = 100;
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to