diff options
author | D G Turner | 2019-12-01 01:26:53 +0000 |
---|---|---|
committer | D G Turner | 2019-12-01 01:26:53 +0000 |
commit | f0c02796f44f7302719b0b107d0f0af6b00ffc50 (patch) | |
tree | 114396f60f1df6b9f12ed9a72bb92c59347c8a67 /image/codecs | |
parent | 538bb7ab3e2ce73ef57833859455ceb76467ce54 (diff) | |
download | scummvm-rg350-f0c02796f44f7302719b0b107d0f0af6b00ffc50.tar.gz scummvm-rg350-f0c02796f44f7302719b0b107d0f0af6b00ffc50.tar.bz2 scummvm-rg350-f0c02796f44f7302719b0b107d0f0af6b00ffc50.zip |
IMAGE: Fix Missing Default Switch Case in Truemotion 1 Codec
This is flagged by GCC if -Wswitch-default is enabled.
Diffstat (limited to 'image/codecs')
-rw-r--r-- | image/codecs/truemotion1.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/image/codecs/truemotion1.cpp b/image/codecs/truemotion1.cpp index e60ec6c72e..28df1119c4 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 |