diff options
author | D G Turner | 2019-12-16 01:40:08 +0000 |
---|---|---|
committer | D G Turner | 2019-12-16 01:40:08 +0000 |
commit | d6c88b6a662cf55aefe4c7bb540bc6ee06c2a293 (patch) | |
tree | 763f0722102deb0e52ec7739981009b3d6b3f9ff /engines/glk/scott | |
parent | 22234934fef5cafa3dc93c15bab9d469c8f75476 (diff) | |
download | scummvm-rg350-d6c88b6a662cf55aefe4c7bb540bc6ee06c2a293.tar.gz scummvm-rg350-d6c88b6a662cf55aefe4c7bb540bc6ee06c2a293.tar.bz2 scummvm-rg350-d6c88b6a662cf55aefe4c7bb540bc6ee06c2a293.zip |
GLK: SCOTT: Fix Missing Default Switch Cases
These are flagged by GCC if -Wswitch-default is enabled.
Diffstat (limited to 'engines/glk/scott')
-rw-r--r-- | engines/glk/scott/scott.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/engines/glk/scott/scott.cpp b/engines/glk/scott/scott.cpp index 7070f40fd3..a974b839a9 100644 --- a/engines/glk/scott/scott.cpp +++ b/engines/glk/scott/scott.cpp @@ -608,6 +608,8 @@ int Scott::getInput(int *vb, int *no) { case 'i': strcpy(verb, "INVENTORY"); break; + default: + break; } } nc = whichWord(verb, _nouns); @@ -722,6 +724,8 @@ int Scott::performLine(int ct) { if (_currentCounter != dv) return 0; break; + default: + break; } cc++; } |