From 9190f6e1c8047446dd9c9c70525bc0e855cbe8dc Mon Sep 17 00:00:00 2001 From: D G Turner Date: Thu, 14 Nov 2019 02:44:19 +0000 Subject: FULLPIPE: Fix Missing Default Switch Cases These are flagged by GCC if -Wswitch-default is enabled. Also, do minor fixes for readability to switch statements. --- engines/fullpipe/scenes/scene09.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'engines/fullpipe/scenes/scene09.cpp') diff --git a/engines/fullpipe/scenes/scene09.cpp b/engines/fullpipe/scenes/scene09.cpp index 17dfc4a990..1761f5d5a3 100644 --- a/engines/fullpipe/scenes/scene09.cpp +++ b/engines/fullpipe/scenes/scene09.cpp @@ -505,6 +505,7 @@ int sceneHandler09(ExCommand *cmd) { return res; } + break; case 30: if (g_vars->scene09_interactingHanger >= 0) { @@ -578,9 +579,11 @@ int sceneHandler09(ExCommand *cmd) { g_fp->processArcade(cmd); } } - - break; } + break; + + default: + break; } return 0; -- cgit v1.2.3