aboutsummaryrefslogtreecommitdiff
path: root/engines/scumm/help.cpp
diff options
context:
space:
mode:
authorD G Turner2019-12-23 11:56:16 +0000
committerD G Turner2019-12-23 11:56:16 +0000
commit59b639ed4d9b8c45644053641522dedabd12fa56 (patch)
treecc98618132f1de362fca07369718af68df44e70a /engines/scumm/help.cpp
parentd5808d2903e2cc2a04e8545b84f1528230a9b010 (diff)
downloadscummvm-rg350-59b639ed4d9b8c45644053641522dedabd12fa56.tar.gz
scummvm-rg350-59b639ed4d9b8c45644053641522dedabd12fa56.tar.bz2
scummvm-rg350-59b639ed4d9b8c45644053641522dedabd12fa56.zip
SCUMM: Fix Missing Default Switch Cases
These are flagged by GCC if -Wswitch-default is enabled.
Diffstat (limited to 'engines/scumm/help.cpp')
-rw-r--r--engines/scumm/help.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/engines/scumm/help.cpp b/engines/scumm/help.cpp
index ce0d13b4fc..15f1977c8f 100644
--- a/engines/scumm/help.cpp
+++ b/engines/scumm/help.cpp
@@ -250,6 +250,8 @@ void ScummHelp::updateStrings(byte gameId, byte version, Common::Platform platfo
ADD_BIND("i", _("Inventory"));
ADD_BIND("u", _("Use"));
break;
+ default:
+ break;
}
break;
case 4:
@@ -320,6 +322,8 @@ void ScummHelp::updateStrings(byte gameId, byte version, Common::Platform platfo
ADD_TEXT(_("7, 4, and 1 are switched with"));
ADD_TEXT(_("9, 6, and 3, respectively."));
break;
+ default:
+ break;
}
break;
case 6:
@@ -336,8 +340,12 @@ void ScummHelp::updateStrings(byte gameId, byte version, Common::Platform platfo
ADD_BIND("6", _("Fly to right"));
ADD_BIND("3", _("Fly to lower right"));
break;
+ default:
+ break;
}
break;
+ default:
+ break;
}
while (i < HELP_NUM_LINES) {
ADD_LINE;