summaryrefslogtreecommitdiff
path: root/src/actions/actions.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/actions/actions.cpp')
-rw-r--r--src/actions/actions.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/actions/actions.cpp b/src/actions/actions.cpp
index 639894d9a..4e98517a1 100644
--- a/src/actions/actions.cpp
+++ b/src/actions/actions.cpp
@@ -1319,6 +1319,9 @@ impHandler0(serverUnIgnoreAll)
return true;
}
+PRAGMA6(GCC diagnostic push)
+PRAGMA6(GCC diagnostic ignored "-Wnull-dereference")
+
impHandler0(error)
{
const int *const ptr = nullptr;
@@ -1326,6 +1329,8 @@ impHandler0(error)
exit(1);
}
+PRAGMA6(GCC diagnostic pop)
+
impHandler(dumpGraphics)
{
std::string str = strprintf("%s,%s,%dX%dX%d,", PACKAGE_OS, SMALL_VERSION,