aboutsummaryrefslogtreecommitdiff
path: root/engines/lastexpress
diff options
context:
space:
mode:
authorD G Turner2019-12-01 13:26:55 +0000
committerD G Turner2019-12-01 13:28:49 +0000
commit7b275b454c1c143d97d238086ab3797f76576872 (patch)
tree2967bd2f94ca72ad3138e5600043498d99da7364 /engines/lastexpress
parentf430e3318aa491ba1c126aea570fcf65bf9e5ec6 (diff)
downloadscummvm-rg350-7b275b454c1c143d97d238086ab3797f76576872.tar.gz
scummvm-rg350-7b275b454c1c143d97d238086ab3797f76576872.tar.bz2
scummvm-rg350-7b275b454c1c143d97d238086ab3797f76576872.zip
LASTEXPRESS: Fix Missing Default Switch Cases
These are flagged by GCC if -Wswitch-default is enabled.
Diffstat (limited to 'engines/lastexpress')
-rw-r--r--engines/lastexpress/entities/mertens.cpp3
-rw-r--r--engines/lastexpress/entities/milos.cpp3
2 files changed, 6 insertions, 0 deletions
diff --git a/engines/lastexpress/entities/mertens.cpp b/engines/lastexpress/entities/mertens.cpp
index db900091c7..f8af8220d4 100644
--- a/engines/lastexpress/entities/mertens.cpp
+++ b/engines/lastexpress/entities/mertens.cpp
@@ -524,6 +524,9 @@ IMPLEMENT_FUNCTION_I(12, Mertens, bonsoir, EntityIndex)
case 2:
getSound()->playSound(kEntityMertens, "CON1110H");
break;
+
+ default:
+ break;
}
}
}
diff --git a/engines/lastexpress/entities/milos.cpp b/engines/lastexpress/entities/milos.cpp
index a9e0d80407..564f611b1f 100644
--- a/engines/lastexpress/entities/milos.cpp
+++ b/engines/lastexpress/entities/milos.cpp
@@ -152,6 +152,9 @@ IMPLEMENT_FUNCTION_II(10, Milos, enterCompartmentDialog, CarIndex, EntityPositio
case 2:
getSound()->playSound(kEntityPlayer, "CAT1014B");
break;
+
+ default:
+ break;
}
} else {
getSound()->excuseMeCath();