aboutsummaryrefslogtreecommitdiff
path: root/disasm/disasm.cc
diff options
context:
space:
mode:
Diffstat (limited to 'disasm/disasm.cc')
-rw-r--r--disasm/disasm.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/disasm/disasm.cc b/disasm/disasm.cc
index 1d7c6d5..a8ba91e 100644
--- a/disasm/disasm.cc
+++ b/disasm/disasm.cc
@@ -10,6 +10,10 @@
// For std::reverse:
#include <algorithm>
+#ifdef __GNUC__
+# pragma GCC diagnostic ignored "-Wunused-variable"
+#endif
+
// Indicates that the next arg (only) is optional.
// If the result of converting the next arg to a string is ""
// then it will not be printed.