[Scummvm-cvs-logs] scummvm master -> 8546ecab04461a920430da0fb9e7a356e7697489

DrMcCoy drmccoy at drmccoy.de
Wed Jul 20 18:42:29 CEST 2016


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:
8546ecab04 AGOS: Fix wrongly indented debugC() statement


Commit: 8546ecab04461a920430da0fb9e7a356e7697489
    https://github.com/scummvm/scummvm/commit/8546ecab04461a920430da0fb9e7a356e7697489
Author: Sven Hesse (drmccoy at users.sourceforge.net)
Date: 2016-07-20T18:39:42+02:00

Commit Message:
AGOS: Fix wrongly indented debugC() statement

GCC 6's -Wmisleading-indentation warns about the debugC() statement
being wrongly indented, as if belonging into the else's branch, which
it clearly doesn't.

Changed paths:
    engines/agos/subroutine.cpp



diff --git a/engines/agos/subroutine.cpp b/engines/agos/subroutine.cpp
index 0f6c767..2aedfa2 100644
--- a/engines/agos/subroutine.cpp
+++ b/engines/agos/subroutine.cpp
@@ -564,7 +564,7 @@ restart:
 			else
 				_codePtr += 8;
 
-				debugC(kDebugOpcode, "; %d", sub->id);
+			debugC(kDebugOpcode, "; %d", sub->id);
 			result = runScript();
 			if (result != 0) {
 				break;






More information about the Scummvm-git-logs mailing list