aboutsummaryrefslogtreecommitdiff
path: root/devtools/create_titanic
diff options
context:
space:
mode:
authorD G Turner2019-10-06 06:21:55 +0100
committerD G Turner2019-10-06 06:21:55 +0100
commitfab8fd26859a329b2b3dede83011b8b7f7379b02 (patch)
tree4504003ba26b61ccb308bee608e24681a11bceb7 /devtools/create_titanic
parent68303c153471250c5e42dc7110a969f3a88fe389 (diff)
downloadscummvm-rg350-fab8fd26859a329b2b3dede83011b8b7f7379b02.tar.gz
scummvm-rg350-fab8fd26859a329b2b3dede83011b8b7f7379b02.tar.bz2
scummvm-rg350-fab8fd26859a329b2b3dede83011b8b7f7379b02.zip
DEVTOOLS: Add Missing Default Switch Cases
These are flagged by GCC if -Wswitch-default is enabled.
Diffstat (limited to 'devtools/create_titanic')
-rw-r--r--devtools/create_titanic/zlib.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/devtools/create_titanic/zlib.cpp b/devtools/create_titanic/zlib.cpp
index 96e0020e31..fe2a12b82d 100644
--- a/devtools/create_titanic/zlib.cpp
+++ b/devtools/create_titanic/zlib.cpp
@@ -260,6 +260,8 @@ public:
bool seek(int32 offset, int whence = SEEK_SET) {
int32 newPos = 0;
switch (whence) {
+ default:
+ // fallthrough intended
case SEEK_SET:
newPos = offset;
break;