diff options
author | D G Turner | 2019-10-03 06:03:46 +0100 |
---|---|---|
committer | D G Turner | 2019-10-03 06:03:46 +0100 |
commit | 30c366ee5db4c27e9d0ef94fd5786af55b1b0147 (patch) | |
tree | d241f64a12d20a9a8b8eb636a841be200a91ae87 /gui/saveload.cpp | |
parent | 904e58c35b00c02bf869c17abb9f037e76d4a1a4 (diff) | |
download | scummvm-rg350-30c366ee5db4c27e9d0ef94fd5786af55b1b0147.tar.gz scummvm-rg350-30c366ee5db4c27e9d0ef94fd5786af55b1b0147.tar.bz2 scummvm-rg350-30c366ee5db4c27e9d0ef94fd5786af55b1b0147.zip |
GUI: Add Missing Switch Default Cases
These are flagged by GCC if -Wswitch-default is enabled.
Diffstat (limited to 'gui/saveload.cpp')
-rw-r--r-- | gui/saveload.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gui/saveload.cpp b/gui/saveload.cpp index a893f3c0db..6de8be97d8 100644 --- a/gui/saveload.cpp +++ b/gui/saveload.cpp @@ -51,6 +51,8 @@ void SaveLoadChooser::selectChooser(const MetaEngine &engine) { _impl = new SaveLoadChooserGrid(_title, _saveMode); break; + default: + // fallthrough intended case kSaveLoadDialogList: #endif // !DISABLE_SAVELOADCHOOSER_GRID _impl = new SaveLoadChooserSimple(_title, _buttonLabel, _saveMode); |