diff options
author | D G Turner | 2019-11-14 23:48:05 +0000 |
---|---|---|
committer | D G Turner | 2019-11-14 23:48:05 +0000 |
commit | 4aaff742fc83c461f07bb205746258455935a3a2 (patch) | |
tree | 18a3a10de79c93fe3e152cc7af73fcc0d3637ab8 | |
parent | d7a22f72a1eed84441ffaf1204b5b46a6f41a58b (diff) | |
download | scummvm-rg350-4aaff742fc83c461f07bb205746258455935a3a2.tar.gz scummvm-rg350-4aaff742fc83c461f07bb205746258455935a3a2.tar.bz2 scummvm-rg350-4aaff742fc83c461f07bb205746258455935a3a2.zip |
LAB: Fix Missing Default Switch Cases
These are flagged by GCC if -Wswitch-default is enabled.
-rw-r--r-- | engines/lab/engine.cpp | 10 | ||||
-rw-r--r-- | engines/lab/processroom.cpp | 3 |
2 files changed, 13 insertions, 0 deletions
diff --git a/engines/lab/engine.cpp b/engines/lab/engine.cpp index 793a333a54..e8e275d219 100644 --- a/engines/lab/engine.cpp +++ b/engines/lab/engine.cpp @@ -843,6 +843,9 @@ void LabEngine::processMainButton(uint16 &curInv, uint16 &lastInv, uint16 &oldDi _interface->mayShowCrumbIndicator(); break; + + default: + break; } _graphics->screenUpdate(); @@ -960,6 +963,9 @@ void LabEngine::processAltButton(uint16 &curInv, uint16 &lastInv, uint16 buttonI } } break; + + default: + break; } _graphics->screenUpdate(); @@ -1024,6 +1030,10 @@ void LabEngine::performAction(uint16 actionMode, Common::Point curPos, uint16 &c else if (curPos.y < (_utils->vgaScaleY(149) + _utils->svgaCord(2))) drawStaticMessage(kTextNothing); } + break; + + default: + break; } } diff --git a/engines/lab/processroom.cpp b/engines/lab/processroom.cpp index 58b7e253f1..f6086828c3 100644 --- a/engines/lab/processroom.cpp +++ b/engines/lab/processroom.cpp @@ -469,6 +469,9 @@ void LabEngine::doActions(const ActionList &actionList) { } break; + + default: + break; } } |