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

digitall 547637+digitall at users.noreply.github.com
Wed Nov 27 01:20:10 UTC 2019


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

Summary:
25545ff372 PLUMBERS: Fix Missing Default Switch Cases
a997ac72f1 PINK: Fix Missing Default Switch Cases


Commit: 25545ff372c42919c0ae680c0954281699940a13
    https://github.com/scummvm/scummvm/commit/25545ff372c42919c0ae680c0954281699940a13
Author: D G Turner (digitall at scummvm.org)
Date: 2019-11-27T01:15:38Z

Commit Message:
PLUMBERS: Fix Missing Default Switch Cases

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

Changed paths:
    engines/plumbers/plumbers.cpp


diff --git a/engines/plumbers/plumbers.cpp b/engines/plumbers/plumbers.cpp
index 5491f81..d6ef691 100644
--- a/engines/plumbers/plumbers.cpp
+++ b/engines/plumbers/plumbers.cpp
@@ -163,6 +163,8 @@ Common::Error PlumbersGame::run() {
 			case PlaySound:
 				playSound();
 				break;
+			default:
+				break;
 			}
 		}
 


Commit: a997ac72f1e0bdef68f925f4d57bf49affffae91
    https://github.com/scummvm/scummvm/commit/a997ac72f1e0bdef68f925f4d57bf49affffae91
Author: D G Turner (digitall at scummvm.org)
Date: 2019-11-27T01:16:26Z

Commit Message:
PINK: Fix Missing Default Switch Cases

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

Changed paths:
    engines/pink/objects/actions/action_loop.cpp


diff --git a/engines/pink/objects/actions/action_loop.cpp b/engines/pink/objects/actions/action_loop.cpp
index c8ef5da..6e9b706 100644
--- a/engines/pink/objects/actions/action_loop.cpp
+++ b/engines/pink/objects/actions/action_loop.cpp
@@ -44,6 +44,7 @@ void ActionLoop::deserialize(Archive &archive) {
 		break;
 	default:
 		_style = kForward;
+		break;
 	}
 }
 
@@ -95,6 +96,8 @@ void ActionLoop::update() {
 		}
 		decodeNext();
 		break;
+	default:
+		break;
 	}
 }
 




More information about the Scummvm-git-logs mailing list