diff options
author | D G Turner | 2019-10-03 00:59:41 +0100 |
---|---|---|
committer | D G Turner | 2019-10-03 00:59:41 +0100 |
commit | 5c2de7a40dbbd754d5a95f3319f6eb06ed820233 (patch) | |
tree | c696feac6964aae5f95dd2e44e440d3850889235 /graphics | |
parent | 9e761e1c9faea1835bf4a5da7f19d747a50194af (diff) | |
download | scummvm-rg350-5c2de7a40dbbd754d5a95f3319f6eb06ed820233.tar.gz scummvm-rg350-5c2de7a40dbbd754d5a95f3319f6eb06ed820233.tar.bz2 scummvm-rg350-5c2de7a40dbbd754d5a95f3319f6eb06ed820233.zip |
GRAPHICS: Add Missing Switch Default Case in PixelFormat Header
These are flagged by GCC if -Wswitch-default is enabled.
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/pixelformat.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/graphics/pixelformat.h b/graphics/pixelformat.h index af964b0ee1..f3e7f95a6b 100644 --- a/graphics/pixelformat.h +++ b/graphics/pixelformat.h @@ -274,6 +274,8 @@ struct PixelFormat { return ColorComponent<7>::expand(color); case 8: return ColorComponent<8>::expand(color); + default: + break; } // Unsupported |