Title: [238067] trunk/Source/_javascript_Core
Revision
238067
Author
[email protected]
Date
2018-11-10 11:27:27 -0800 (Sat, 10 Nov 2018)

Log Message

Unreviewed, silence -Wunused-variable warning

* bytecode/Opcode.h:
(JSC::padOpcodeName):

Modified Paths

Diff

Modified: trunk/Source/_javascript_Core/ChangeLog (238066 => 238067)


--- trunk/Source/_javascript_Core/ChangeLog	2018-11-10 17:43:31 UTC (rev 238066)
+++ trunk/Source/_javascript_Core/ChangeLog	2018-11-10 19:27:27 UTC (rev 238067)
@@ -1,3 +1,10 @@
+2018-11-10  Michael Catanzaro  <[email protected]>
+
+        Unreviewed, silence -Wunused-variable warning
+
+        * bytecode/Opcode.h:
+        (JSC::padOpcodeName):
+
 2018-11-09  Keith Rollin  <[email protected]>
 
         Unreviewed build fix after https://bugs.webkit.org/show_bug.cgi?id=191324

Modified: trunk/Source/_javascript_Core/bytecode/Opcode.h (238066 => 238067)


--- trunk/Source/_javascript_Core/bytecode/Opcode.h	2018-11-10 17:43:31 UTC (rev 238066)
+++ trunk/Source/_javascript_Core/bytecode/Opcode.h	2018-11-10 19:27:27 UTC (rev 238067)
@@ -71,6 +71,8 @@
 #undef OPCODE_ID_ENUM
 #endif
 
+IGNORE_WARNINGS_BEGIN("unused-variable")
+
 #define OPCODE_LENGTH(opcode, length) length,
     static unsigned opcodeLengths[] = {
         FOR_EACH_OPCODE_ID(OPCODE_LENGTH)
@@ -77,6 +79,8 @@
     };
 #undef OPCODE_LENGTH
 
+IGNORE_WARNINGS_END
+
 #define OPCODE_ID_LENGTHS(id, length) const int id##_length = length;
     FOR_EACH_OPCODE_ID(OPCODE_ID_LENGTHS);
 #undef OPCODE_ID_LENGTHS
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to