diff options
author | D G Turner | 2019-10-20 21:15:43 +0100 |
---|---|---|
committer | D G Turner | 2019-10-20 21:15:43 +0100 |
commit | deb6dc53579338fafaf620180a931c289e9e1662 (patch) | |
tree | ca5ce2b0935ab948c586c1eadf9525d014921c18 /engines/parallaction/parallaction.cpp | |
parent | fd9c22f0b72320c50c7c4982e577c74bbfe96ef2 (diff) | |
download | scummvm-rg350-deb6dc53579338fafaf620180a931c289e9e1662.tar.gz scummvm-rg350-deb6dc53579338fafaf620180a931c289e9e1662.tar.bz2 scummvm-rg350-deb6dc53579338fafaf620180a931c289e9e1662.zip |
PARALLACTION: Fix Missing Default Switch Cases
These are flagged by GCC if -Wswitch-default is enabled.
Diffstat (limited to 'engines/parallaction/parallaction.cpp')
-rw-r--r-- | engines/parallaction/parallaction.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/engines/parallaction/parallaction.cpp b/engines/parallaction/parallaction.cpp index 9bf54919ec..ca0ff21eee 100644 --- a/engines/parallaction/parallaction.cpp +++ b/engines/parallaction/parallaction.cpp @@ -321,6 +321,9 @@ void Parallaction::runGame() { case Input::kInputModeGame: runGameFrame(event); break; + + default: + break; } if (shouldQuit()) @@ -423,6 +426,9 @@ void Parallaction::drawAnimation(AnimationPtr anim) { scale = _location.getScale(anim->getZ()); } break; + + default: + break; } // updates the data for display @@ -600,6 +606,9 @@ void Parallaction::runZone(ZonePtr z) { return; } break; + + default: + break; } debugC(3, kDebugExec, "runZone completed"); @@ -851,6 +860,9 @@ void Location::freeZones(bool removeAll) { freeList(_zones, removeAll, Common::mem_fun(&Location::keepZone_br)); freeList(_animations, removeAll, Common::mem_fun(&Location::keepAnimation_br)); break; + + default: + break; } } |