summaryrefslogtreecommitdiff
path: root/src/resources/dye/dyepalette_unittest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources/dye/dyepalette_unittest.cc')
-rw-r--r--src/resources/dye/dyepalette_unittest.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/resources/dye/dyepalette_unittest.cc b/src/resources/dye/dyepalette_unittest.cc
index 351a74a2d..db82c4297 100644
--- a/src/resources/dye/dyepalette_unittest.cc
+++ b/src/resources/dye/dyepalette_unittest.cc
@@ -46,9 +46,12 @@
#include "utils/delete2.h"
#include "utils/env.h"
+#pragma GCC diagnostic push
+#pragma GCC diagnostic ignored "-Wshadow")
#ifndef USE_SDL2
#include <SDL.h>
#endif // USE_SDL2
+#pragma GCC diagnostic pop
#include "debug.h"