aboutsummaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorD G Turner2019-10-03 00:59:41 +0100
committerD G Turner2019-10-03 00:59:41 +0100
commit5c2de7a40dbbd754d5a95f3319f6eb06ed820233 (patch)
treec696feac6964aae5f95dd2e44e440d3850889235 /graphics
parent9e761e1c9faea1835bf4a5da7f19d747a50194af (diff)
downloadscummvm-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.h2
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