From d6c88b6a662cf55aefe4c7bb540bc6ee06c2a293 Mon Sep 17 00:00:00 2001 From: D G Turner Date: Mon, 16 Dec 2019 01:40:08 +0000 Subject: GLK: SCOTT: Fix Missing Default Switch Cases These are flagged by GCC if -Wswitch-default is enabled. --- engines/glk/scott/scott.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'engines') 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++; } -- cgit v1.2.3