diff options
author | D G Turner | 2019-11-15 02:51:50 +0000 |
---|---|---|
committer | D G Turner | 2019-11-15 02:51:50 +0000 |
commit | 4af25ccfddec83d0525ad43c309fe8d3b751ea7b (patch) | |
tree | b1e4c6de4382e18c137d9d349109f50ee77a9019 /engines/lure/menu.cpp | |
parent | f113a00141940477db0bd9aeffc554fd8a72c57e (diff) | |
download | scummvm-rg350-4af25ccfddec83d0525ad43c309fe8d3b751ea7b.tar.gz scummvm-rg350-4af25ccfddec83d0525ad43c309fe8d3b751ea7b.tar.bz2 scummvm-rg350-4af25ccfddec83d0525ad43c309fe8d3b751ea7b.zip |
LURE: Fix Missing Default Switch Cases
These are flagged by GCC if -Wswitch-default is enabled.
Diffstat (limited to 'engines/lure/menu.cpp')
-rw-r--r-- | engines/lure/menu.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/engines/lure/menu.cpp b/engines/lure/menu.cpp index 8672f5fa87..d074649544 100644 --- a/engines/lure/menu.cpp +++ b/engines/lure/menu.cpp @@ -194,6 +194,8 @@ uint8 Menu::execute() { return MENUITEM_SAVE_GAME; case 3: return MENUITEM_RESTORE_GAME; + default: + break; } } else { switch (_selectedIndex) { @@ -203,6 +205,8 @@ uint8 Menu::execute() { return MENUITEM_TEXT_SPEED; case 3: return MENUITEM_SOUND; + default: + break; } } return MENUITEM_NONE; |