aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorD G Turner2019-11-14 23:48:05 +0000
committerD G Turner2019-11-14 23:48:05 +0000
commit4aaff742fc83c461f07bb205746258455935a3a2 (patch)
tree18a3a10de79c93fe3e152cc7af73fcc0d3637ab8
parentd7a22f72a1eed84441ffaf1204b5b46a6f41a58b (diff)
downloadscummvm-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.cpp10
-rw-r--r--engines/lab/processroom.cpp3
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;
}
}