[Scummvm-git-logs] scummvm master -> 509fe6f3c2def28a32961f065a20e55a280534b3

digitall dgturner at iee.org
Tue Nov 13 09:35:23 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:
509fe6f3c2 BLADERUNNER: Fix Fall Through Compiler Warnings


Commit: 509fe6f3c2def28a32961f065a20e55a280534b3
    https://github.com/scummvm/scummvm/commit/509fe6f3c2def28a32961f065a20e55a280534b3
Author: D G Turner (digitall at scummvm.org)
Date: 2018-11-13T08:31:06Z

Commit Message:
BLADERUNNER: Fix Fall Through Compiler Warnings

Clang and newer versions of GCC i.e. v8.2 require the comment to match
"fall through" to surpress warnings so change "no break" comments to
match.

Changed paths:
    engines/bladerunner/script/ai/officer_leary.cpp


diff --git a/engines/bladerunner/script/ai/officer_leary.cpp b/engines/bladerunner/script/ai/officer_leary.cpp
index 0adbe7c..db37251 100644
--- a/engines/bladerunner/script/ai/officer_leary.cpp
+++ b/engines/bladerunner/script/ai/officer_leary.cpp
@@ -423,7 +423,7 @@ bool AIScriptOfficerLeary::GoalChanged(int currentGoalNumber, int newGoalNumber)
 			default:
 				return false;
 			}
-			//no break
+			// fall through
 		case 9:
 			if (Random_Query(1, 2) - 1 == 1) {
 				AI_Movement_Track_Append(kActorOfficerLeary, 433, 10);
@@ -452,7 +452,7 @@ bool AIScriptOfficerLeary::GoalChanged(int currentGoalNumber, int newGoalNumber)
 		default:
 			return false;
 		}
-		//no break
+		// fall through
 	case 306:
 		Actor_Set_Goal_Number(kActorOfficerLeary, 305);
 		return true;





More information about the Scummvm-git-logs mailing list