[Scummvm-git-logs] scummvm master -> 75fdc35af4fc8f8a8cf6b2323f302c0a33bfd927

digitall 547637+digitall at users.noreply.github.com
Fri Oct 18 16:49:48 CEST 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:
75fdc35af4 DRASCULA: Fix Missing Default Switch Cases


Commit: 75fdc35af4fc8f8a8cf6b2323f302c0a33bfd927
    https://github.com/scummvm/scummvm/commit/75fdc35af4fc8f8a8cf6b2323f302c0a33bfd927
Author: D G Turner (digitall at scummvm.org)
Date: 2019-10-18T15:46:02+01:00

Commit Message:
DRASCULA: Fix Missing Default Switch Cases

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

Changed paths:
    engines/drascula/graphics.cpp


diff --git a/engines/drascula/graphics.cpp b/engines/drascula/graphics.cpp
index 2ed1468..3483131 100644
--- a/engines/drascula/graphics.cpp
+++ b/engines/drascula/graphics.cpp
@@ -236,6 +236,7 @@ void DrasculaEngine::print_abc(const char *said, int screenX, int screenY) {
 
 				switch (_charMap[i].charType) {
 				case 0:		// letters
+				default:
 					letterY = (_lang == kSpanish) ? 149 : 158;
 					break;
 				case 1:		// signs





More information about the Scummvm-git-logs mailing list