aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorD G Turner2019-11-15 10:20:05 +0000
committerD G Turner2019-11-15 10:20:05 +0000
commit00f1679cebd5a747fc5443463c68892de2a2875f (patch)
tree94532da13ba89cc24f3b8d4b88de8917cf4c2c38
parent81468e219344b39a993decc55df1b6fe5e3dbaf7 (diff)
downloadscummvm-rg350-00f1679cebd5a747fc5443463c68892de2a2875f.tar.gz
scummvm-rg350-00f1679cebd5a747fc5443463c68892de2a2875f.tar.bz2
scummvm-rg350-00f1679cebd5a747fc5443463c68892de2a2875f.zip
MADE: Fix Missing Default Switch Cases
These are flagged by GCC if -Wswitch-default is enabled.
-rw-r--r--engines/made/graphics.cpp4
-rw-r--r--engines/made/made.cpp2
2 files changed, 6 insertions, 0 deletions
diff --git a/engines/made/graphics.cpp b/engines/made/graphics.cpp
index 100f7b5c46..3061a6225d 100644
--- a/engines/made/graphics.cpp
+++ b/engines/made/graphics.cpp
@@ -159,6 +159,8 @@ void decompressImage(byte *source, Graphics::Surface &surface, uint16 cmdOffs, u
}
break;
+ default:
+ break;
}
drawDestOfs += 4;
@@ -264,6 +266,8 @@ void decompressMovieImage(byte *source, Graphics::Surface &surface, uint16 cmdOf
case 3:
break;
+ default:
+ break;
}
if (cmd != 3) {
diff --git a/engines/made/made.cpp b/engines/made/made.cpp
index 947f08ec3b..13178b0d95 100644
--- a/engines/made/made.cpp
+++ b/engines/made/made.cpp
@@ -89,6 +89,8 @@ MadeEngine::MadeEngine(OSystem *syst, const MadeGameDescription *gameDesc) : Eng
case GID_RTZ:
// Return to Zork sets it itself via a script funtion
break;
+ default:
+ break;
}
}