From 97451785c40fedb495944a56b62c60a2e6312977 Mon Sep 17 00:00:00 2001 From: D G Turner Date: Sat, 9 Nov 2019 04:11:40 +0000 Subject: GRIFFON: Fix GCC Compiler Warnings --- engines/griffon/combat.cpp | 2 ++ engines/griffon/dialogs.cpp | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) (limited to 'engines/griffon') diff --git a/engines/griffon/combat.cpp b/engines/griffon/combat.cpp index ffd07f35ac..aad5ddb325 100644 --- a/engines/griffon/combat.cpp +++ b/engines/griffon/combat.cpp @@ -387,6 +387,8 @@ void GriffonEngine::attack() { return; } break; + default: + break; } } } diff --git a/engines/griffon/dialogs.cpp b/engines/griffon/dialogs.cpp index 094d88738a..06026eb1cf 100644 --- a/engines/griffon/dialogs.cpp +++ b/engines/griffon/dialogs.cpp @@ -440,9 +440,10 @@ void GriffonEngine::configMenu() { break; case 13: saveConfig(); - // no break on purpose + // fall through case 14: exitMenu = true; + break; default: break; } -- cgit v1.2.3