diff options
| author | D G Turner | 2019-10-06 06:21:55 +0100 |
|---|---|---|
| committer | D G Turner | 2019-10-06 06:21:55 +0100 |
| commit | fab8fd26859a329b2b3dede83011b8b7f7379b02 (patch) | |
| tree | 4504003ba26b61ccb308bee608e24681a11bceb7 /devtools/create_titanic | |
| parent | 68303c153471250c5e42dc7110a969f3a88fe389 (diff) | |
| download | scummvm-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.cpp | 2 |
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; |
