diff options
Diffstat (limited to 'src/dyetool/client.cpp')
-rw-r--r-- | src/dyetool/client.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/dyetool/client.cpp b/src/dyetool/client.cpp index fa4924df6..a1b539c0f 100644 --- a/src/dyetool/client.cpp +++ b/src/dyetool/client.cpp @@ -583,6 +583,8 @@ int Client::gameExec() BLOCK_END("Client::gameExec 7") BLOCK_START("Client::gameExec 8") + PRAGMA("GCC diagnostic push") + PRAGMA("GCC diagnostic ignored \"-Wswitch-enum\"") switch (mState) { case State::GAME: @@ -634,6 +636,7 @@ int Client::gameExec() mState = State::FORCE_QUIT; break; } + PRAGMA("GCC diagnostic pop") BLOCK_END("Client::gameExec 8") } PROFILER_END(); |