diff options
| author | D G Turner | 2019-11-30 22:08:44 +0000 |
|---|---|---|
| committer | D G Turner | 2019-11-30 22:08:44 +0000 |
| commit | aee09409e8b30dbd8ea10c9190b85037fe8458c9 (patch) | |
| tree | 2cf8b40cca8d94d21985b60dea7bcf2443b6f7e7 /image/codecs/bmp_raw.cpp | |
| parent | 88761ea49ce5244dc33a0784bbfba702f82d3241 (diff) | |
| download | scummvm-rg350-aee09409e8b30dbd8ea10c9190b85037fe8458c9.tar.gz scummvm-rg350-aee09409e8b30dbd8ea10c9190b85037fe8458c9.tar.bz2 scummvm-rg350-aee09409e8b30dbd8ea10c9190b85037fe8458c9.zip | |
IMAGE: Fix Missing Default Switch Cases
These are flagged by GCC if -Wswitch-default is enabled.
Diffstat (limited to 'image/codecs/bmp_raw.cpp')
| -rw-r--r-- | image/codecs/bmp_raw.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/image/codecs/bmp_raw.cpp b/image/codecs/bmp_raw.cpp index 149136c5b4..257fa02b82 100644 --- a/image/codecs/bmp_raw.cpp +++ b/image/codecs/bmp_raw.cpp @@ -140,6 +140,8 @@ Graphics::PixelFormat BitmapRawDecoder::getPixelFormat() const { case 24: case 32: return Graphics::PixelFormat(4, 8, 8, 8, 8, 8, 16, 24, 0); + default: + break; } error("Unhandled BMP raw %dbpp", _bitsPerPixel); |
