aboutsummaryrefslogtreecommitdiff
path: root/engines/hugo/inventory.cpp
diff options
context:
space:
mode:
authorD G Turner2019-10-21 00:14:37 +0100
committerD G Turner2019-10-21 00:14:37 +0100
commit11ef6ef9da41a3f8438dac4d1da19a89b749c9d9 (patch)
treecc0c6863881b6756e29e1213e349d74401053e28 /engines/hugo/inventory.cpp
parentdeb6dc53579338fafaf620180a931c289e9e1662 (diff)
downloadscummvm-rg350-11ef6ef9da41a3f8438dac4d1da19a89b749c9d9.tar.gz
scummvm-rg350-11ef6ef9da41a3f8438dac4d1da19a89b749c9d9.tar.bz2
scummvm-rg350-11ef6ef9da41a3f8438dac4d1da19a89b749c9d9.zip
HUGO: Fix Missing Default Switch Cases
These are flagged by GCC if -Wswitch-default is enabled.
Diffstat (limited to 'engines/hugo/inventory.cpp')
-rw-r--r--engines/hugo/inventory.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/engines/hugo/inventory.cpp b/engines/hugo/inventory.cpp
index b638322847..d0afabcfb4 100644
--- a/engines/hugo/inventory.cpp
+++ b/engines/hugo/inventory.cpp
@@ -202,6 +202,8 @@ int16 InventoryHandler::processInventory(const int action, ...) {
}
}
break;
+ default:
+ break;
}
return objId; // For the INV_GET action
}
@@ -215,6 +217,7 @@ void InventoryHandler::runInventory() {
debugC(1, kDebugInventory, "runInventory");
switch (_inventoryState) {
+ default:
case kInventoryOff: // Icon bar off screen
break;
case kInventoryUp: // Icon bar moving up