diff options
author | D G Turner | 2019-11-30 23:12:30 +0000 |
---|---|---|
committer | D G Turner | 2019-11-30 23:12:30 +0000 |
commit | b25c4b21fdd6f911b94fb411087078ecf756691e (patch) | |
tree | 4dd3daa421325ca6feebe081f9f522b379cc2e42 /engines/tinsel/tinlib.cpp | |
parent | d84ce7e4d5f148b4fb39a60a0fe1b9f9e6e7f6dc (diff) | |
download | scummvm-rg350-b25c4b21fdd6f911b94fb411087078ecf756691e.tar.gz scummvm-rg350-b25c4b21fdd6f911b94fb411087078ecf756691e.tar.bz2 scummvm-rg350-b25c4b21fdd6f911b94fb411087078ecf756691e.zip |
TINSEL: Fix Missing Default Switch Cases
These are flagged by GCC if -Wswitch-default is enabled.
Diffstat (limited to 'engines/tinsel/tinlib.cpp')
-rw-r--r-- | engines/tinsel/tinlib.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/engines/tinsel/tinlib.cpp b/engines/tinsel/tinlib.cpp index 9cc567b910..54dfa5d021 100644 --- a/engines/tinsel/tinlib.cpp +++ b/engines/tinsel/tinlib.cpp @@ -511,6 +511,9 @@ void TinGetVersion(WHICH_VER which, char *buffer, int length) { case VER_COMPILE: memcpy(buffer, cptr + VER_LEN, length); break; + + default: + break; } } @@ -803,6 +806,10 @@ void Control(int param) { EnableTags(); // Tags back on RestoreMainCursor(); // Re-instate cursor... + break; + + default: + break; } } |