From 799a088b6edb7772c01d60ebc3e6160bb26ce8fc Mon Sep 17 00:00:00 2001 From: D G Turner Date: Thu, 12 Dec 2019 17:31:01 +0000 Subject: GOB: Fix Missing Default Switch Cases These are flagged by GCC if -Wswitch-default is enabled. --- engines/gob/script.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'engines/gob/script.cpp') diff --git a/engines/gob/script.cpp b/engines/gob/script.cpp index 9298f159a4..ce077f723a 100644 --- a/engines/gob/script.cpp +++ b/engines/gob/script.cpp @@ -300,6 +300,9 @@ char Script::evalExpr(int16 *pRes) { case GOB_TRUE: *pRes = 1; break; + + default: + break; } return type; -- cgit v1.2.3