diff options
author | D G Turner | 2019-10-04 04:27:42 +0100 |
---|---|---|
committer | D G Turner | 2019-10-04 04:27:42 +0100 |
commit | 4a2cbd94b69f2c0c3b58e46a97245981cd75965e (patch) | |
tree | 547ca6c9296a3addcd14aa97cc9ca3386368f3a9 /common | |
parent | cee1b56f3a245a20694de4948270f8726db42a79 (diff) | |
download | scummvm-rg350-4a2cbd94b69f2c0c3b58e46a97245981cd75965e.tar.gz scummvm-rg350-4a2cbd94b69f2c0c3b58e46a97245981cd75965e.tar.bz2 scummvm-rg350-4a2cbd94b69f2c0c3b58e46a97245981cd75965e.zip |
COMMON: Add Missing Switch Default Case in ZLIB Class
These are flagged by GCC if -Wswitch-default is enabled.
Diffstat (limited to 'common')
-rw-r--r-- | common/zlib.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/common/zlib.cpp b/common/zlib.cpp index e4a3d47e35..35a103499b 100644 --- a/common/zlib.cpp +++ b/common/zlib.cpp @@ -321,6 +321,8 @@ public: bool seek(int32 offset, int whence = SEEK_SET) { int32 newPos = 0; switch (whence) { + default: + // fallthrough intended case SEEK_SET: newPos = offset; break; |