aboutsummaryrefslogtreecommitdiff
path: root/engines/griffon
diff options
context:
space:
mode:
authorD G Turner2019-11-09 04:11:40 +0000
committerEugene Sandulenko2019-11-13 22:07:08 +0100
commit97451785c40fedb495944a56b62c60a2e6312977 (patch)
tree8151277273bcc762f3fee6803bfd7fc673bc29e1 /engines/griffon
parentf1eabe26f5d20e31c29d90f16a3002f8395b5b85 (diff)
downloadscummvm-rg350-97451785c40fedb495944a56b62c60a2e6312977.tar.gz
scummvm-rg350-97451785c40fedb495944a56b62c60a2e6312977.tar.bz2
scummvm-rg350-97451785c40fedb495944a56b62c60a2e6312977.zip
GRIFFON: Fix GCC Compiler Warnings
Diffstat (limited to 'engines/griffon')
-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;
}