mirror of
https://github.com/MultiMC/MultiMC5.git
synced 2024-12-28 15:18:21 +00:00
[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:
parent
d166340097
commit
dd0752e69f
@ -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_); \
|
||||||
|
Loading…
Reference in New Issue
Block a user