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

digitall 547637+digitall at users.noreply.github.com
Sun Dec 1 01:31:05 UTC 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:
f0c02796f4 IMAGE: Fix Missing Default Switch Case in Truemotion 1 Codec


Commit: f0c02796f44f7302719b0b107d0f0af6b00ffc50
    https://github.com/scummvm/scummvm/commit/f0c02796f44f7302719b0b107d0f0af6b00ffc50
Author: D G Turner (digitall at scummvm.org)
Date: 2019-12-01T01:26:53Z

Commit Message:
IMAGE: Fix Missing Default Switch Case in Truemotion 1 Codec

This is flagged by GCC if -Wswitch-default is enabled.

Changed paths:
    image/codecs/truemotion1.cpp


diff --git a/image/codecs/truemotion1.cpp b/image/codecs/truemotion1.cpp
index e60ec6c..28df111 100644
--- a/image/codecs/truemotion1.cpp
+++ b/image/codecs/truemotion1.cpp
@@ -379,6 +379,8 @@ void TrueMotion1Decoder::decode16() {
 						OUTPUT_PIXEL_PAIR();
 					}
 					break;
+				default:
+					break;
 				}
 			} else {
 				// skip (copy) four pixels, but reassign the horizontal




More information about the Scummvm-git-logs mailing list