summaryrefslogtreecommitdiffstats
path: root/depends/pack200/src
diff options
context:
space:
mode:
authorTaeyeon Mori <orochimarufan.x3@gmail.com>2014-04-12 20:36:22 +0200
committerPetr Mrázek <peterix@gmail.com>2014-06-30 23:53:42 +0200
commitdd0752e69f33c6092a940091b8a332b18e6be76d (patch)
tree965c367aa50e050ffd9e8673281c7557e324b47d /depends/pack200/src
parentd16634009788e4baed523f289a85f4808d9ea6c8 (diff)
downloadMultiMC-dd0752e69f33c6092a940091b8a332b18e6be76d.tar
MultiMC-dd0752e69f33c6092a940091b8a332b18e6be76d.tar.gz
MultiMC-dd0752e69f33c6092a940091b8a332b18e6be76d.tar.lz
MultiMC-dd0752e69f33c6092a940091b8a332b18e6be76d.tar.xz
MultiMC-dd0752e69f33c6092a940091b8a332b18e6be76d.zip
[Clang Warnings] Silence Pack200 unused variable variable warnings
They're caused by a big define-everything-you-ever-need macro
Diffstat (limited to 'depends/pack200/src')
-rw-r--r--depends/pack200/src/coding.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/depends/pack200/src/coding.cpp b/depends/pack200/src/coding.cpp
index 3e311131..6bd17a3c 100644
--- a/depends/pack200/src/coding.cpp
+++ b/depends/pack200/src/coding.cpp
@@ -44,6 +44,9 @@
extern coding basic_codings[];
+// CODING_PRIVATE causes a lot of them
+#pragma GCC diagnostic ignored "-Wunused-variable"
+
#define CODING_PRIVATE(spec) \
int spec_ = spec; \
int B = CODING_B(spec_); \