From 7b275b454c1c143d97d238086ab3797f76576872 Mon Sep 17 00:00:00 2001 From: D G Turner Date: Sun, 1 Dec 2019 13:26:55 +0000 Subject: LASTEXPRESS: Fix Missing Default Switch Cases These are flagged by GCC if -Wswitch-default is enabled. --- engines/lastexpress/entities/mertens.cpp | 3 +++ engines/lastexpress/entities/milos.cpp | 3 +++ 2 files changed, 6 insertions(+) (limited to 'engines/lastexpress/entities') 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(); -- cgit v1.2.3