[Clang Warnings] Silence Pack200 unused variable variable warnings

They're caused by a big define-everything-you-ever-need macro
This commit is contained in:
Taeyeon Mori 2014-04-12 20:36:22 +02:00 committed by Petr Mrázek
parent d166340097
commit dd0752e69f

View File

@ -44,6 +44,9 @@
extern coding basic_codings[]; extern coding basic_codings[];
// CODING_PRIVATE causes a lot of them
#pragma GCC diagnostic ignored "-Wunused-variable"
#define CODING_PRIVATE(spec) \ #define CODING_PRIVATE(spec) \
int spec_ = spec; \ int spec_ = spec; \
int B = CODING_B(spec_); \ int B = CODING_B(spec_); \