aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/griffon/combat.cpp2
-rw-r--r--engines/griffon/dialogs.cpp3
2 files changed, 4 insertions, 1 deletions
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;
}