diff options
author | D G Turner | 2019-10-23 23:42:38 +0100 |
---|---|---|
committer | D G Turner | 2019-10-23 23:42:38 +0100 |
commit | 0386fd0eea6df3688cd4da988d7c1b3a377b1240 (patch) | |
tree | bbff3ae0965bf9f7cd8ad30dbae2032db262bb51 /engines/hopkins/dialogs.cpp | |
parent | e15428c43fc62f3e139d6b97e61624941f7e08ba (diff) | |
download | scummvm-rg350-0386fd0eea6df3688cd4da988d7c1b3a377b1240.tar.gz scummvm-rg350-0386fd0eea6df3688cd4da988d7c1b3a377b1240.tar.bz2 scummvm-rg350-0386fd0eea6df3688cd4da988d7c1b3a377b1240.zip |
HOPKINS: Fix Missing Default Switch Cases
These are flagged by GCC if -Wswitch-default is enabled.
Diffstat (limited to 'engines/hopkins/dialogs.cpp')
-rw-r--r-- | engines/hopkins/dialogs.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/engines/hopkins/dialogs.cpp b/engines/hopkins/dialogs.cpp index cabdc9e9ea..2e7c397b5d 100644 --- a/engines/hopkins/dialogs.cpp +++ b/engines/hopkins/dialogs.cpp @@ -94,6 +94,8 @@ void DialogsManager::showOptionsDialog() { case LANG_SP: filename = "OPTIES.SPR"; break; + default: + break; } } @@ -256,6 +258,8 @@ void DialogsManager::showOptionsDialog() { case 320: _vm->_graphicsMan->_scrollSpeed = 1; break; + default: + break; } } @@ -319,6 +323,8 @@ void DialogsManager::showOptionsDialog() { case 640: _vm->_globals->_menuScrollSpeed = 23; break; + default: + break; } _vm->_events->refreshScreenAndEvents(); @@ -369,6 +375,8 @@ void DialogsManager::showInventory() { case LANG_SP: filename = "INVENTES.SPR"; break; + default: + break; } } @@ -670,6 +678,8 @@ void DialogsManager::showSaveLoad(SaveLoadMode mode) { case LANG_SP: filename = "SAVEES.SPR"; break; + default: + break; } } @@ -718,6 +728,8 @@ void DialogsManager::showSaveLoad(SaveLoadMode mode) { case 6: _vm->_graphicsMan->restoreSurfaceRect(_vm->_graphicsMan->_frontBuffer, thumb, startPosX_ + 323, 294, 128, 87); break; + default: + break; } thumb8.free(); |