[Scummvm-git-logs] scummvm master -> d0592f379fa8d548a10296f15a5a34709f946e48

digitall 547637+digitall at users.noreply.github.com
Sat Nov 30 19:56:56 UTC 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:
d0592f379f SURFACESDL: Fix Missing Default Switch Cases


Commit: d0592f379fa8d548a10296f15a5a34709f946e48
    https://github.com/scummvm/scummvm/commit/d0592f379fa8d548a10296f15a5a34709f946e48
Author: D G Turner (digitall at scummvm.org)
Date: 2019-11-30T19:53:11Z

Commit Message:
SURFACESDL: Fix Missing Default Switch Cases

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

Changed paths:
    backends/graphics/surfacesdl/surfacesdl-graphics.cpp


diff --git a/backends/graphics/surfacesdl/surfacesdl-graphics.cpp b/backends/graphics/surfacesdl/surfacesdl-graphics.cpp
index c43dee7..21a8265 100644
--- a/backends/graphics/surfacesdl/surfacesdl-graphics.cpp
+++ b/backends/graphics/surfacesdl/surfacesdl-graphics.cpp
@@ -716,6 +716,8 @@ ScalerProc *SurfaceSdlGraphicsManager::getGraphicsScalerProc(int mode) const {
 		newScalerProc = DotMatrix;
 		break;
 #endif // USE_SCALERS
+	default:
+		break;
 	}
 
 	return newScalerProc;




More information about the Scummvm-git-logs mailing list