[Scummvm-git-logs] scummvm master -> 1967efc5cfc6e842bd37eb314b17c2b73f2e43e1

bonki bonki at users.noreply.github.com
Fri Mar 23 18:41:12 CET 2018


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:
1967efc5cf JANITORIAL: Silence GCC 7 fallthrough warning


Commit: 1967efc5cfc6e842bd37eb314b17c2b73f2e43e1
    https://github.com/scummvm/scummvm/commit/1967efc5cfc6e842bd37eb314b17c2b73f2e43e1
Author: Adrian Frühwirth (bonki at users.noreply.github.com)
Date: 2018-03-23T18:38:37+01:00

Commit Message:
JANITORIAL: Silence GCC 7 fallthrough warning

This wasn't explicitly marked as intentional but it very much looks it.
Committing separately in the unlikely case this needs to be reverted.

Changed paths:
    engines/sci/engine/kgraphics.cpp


diff --git a/engines/sci/engine/kgraphics.cpp b/engines/sci/engine/kgraphics.cpp
index 7e63c35..3c23cd5 100644
--- a/engines/sci/engine/kgraphics.cpp
+++ b/engines/sci/engine/kgraphics.cpp
@@ -1073,6 +1073,7 @@ reg_t kSetPort(EngineState *s, int argc, reg_t *argv) {
 
 	case 7:
 		initPriorityBandsFlag = true;
+		// fall through
 	case 6:
 		picRect.top = argv[0].toSint16();
 		picRect.left = argv[1].toSint16();





More information about the Scummvm-git-logs mailing list