[Scummvm-git-logs] scummvm master -> 00f1679cebd5a747fc5443463c68892de2a2875f

digitall 547637+digitall at users.noreply.github.com
Fri Nov 15 11:23:42 CET 2019


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
00f1679ceb MADE: Fix Missing Default Switch Cases


Commit: 00f1679cebd5a747fc5443463c68892de2a2875f
    https://github.com/scummvm/scummvm/commit/00f1679cebd5a747fc5443463c68892de2a2875f
Author: D G Turner (digitall at scummvm.org)
Date: 2019-11-15T10:20:05Z

Commit Message:
MADE: Fix Missing Default Switch Cases

These are flagged by GCC if -Wswitch-default is enabled.

Changed paths:
    engines/made/graphics.cpp
    engines/made/made.cpp


diff --git a/engines/made/graphics.cpp b/engines/made/graphics.cpp
index 100f7b5..3061a62 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 947f08e..13178b0 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;
 	}
 }
 





More information about the Scummvm-git-logs mailing list