aboutsummaryrefslogtreecommitdiff
path: root/engines/illusions/illusions.cpp
diff options
context:
space:
mode:
authorD G Turner2019-11-16 11:30:12 +0000
committerD G Turner2019-11-16 11:30:12 +0000
commit129988d0e946c622fd8319a19666c623850dac6d (patch)
tree4101897ccda7fb7848fb1f8d225194f39a5278de /engines/illusions/illusions.cpp
parent4b6cb6878488577eb0c047e3baea412eb98d02c2 (diff)
downloadscummvm-rg350-129988d0e946c622fd8319a19666c623850dac6d.tar.gz
scummvm-rg350-129988d0e946c622fd8319a19666c623850dac6d.tar.bz2
scummvm-rg350-129988d0e946c622fd8319a19666c623850dac6d.zip
ILLUSIONS: Fix Missing Default Switch Cases
These are flagged by GCC if -Wswitch-default is enabled.
Diffstat (limited to 'engines/illusions/illusions.cpp')
-rw-r--r--engines/illusions/illusions.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/illusions/illusions.cpp b/engines/illusions/illusions.cpp
index 20ae8ea17a..cb89fe0fa4 100644
--- a/engines/illusions/illusions.cpp
+++ b/engines/illusions/illusions.cpp
@@ -318,6 +318,8 @@ uint32 IllusionsEngine::clipTextDuration(uint32 duration) {
if (duration > _fieldA)
duration = _fieldA;
break;
+ default:
+ break;
}
return duration;
}