aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--common/zlib.cpp2
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;