summaryrefslogtreecommitdiff
path: root/src/utils/chatutils_unittest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils/chatutils_unittest.cc')
-rw-r--r--src/utils/chatutils_unittest.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/utils/chatutils_unittest.cc b/src/utils/chatutils_unittest.cc
index d23e1331f..b6e735d75 100644
--- a/src/utils/chatutils_unittest.cc
+++ b/src/utils/chatutils_unittest.cc
@@ -46,9 +46,12 @@
#include "resources/resourcemanager/resourcemanager.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"