From 5c2de7a40dbbd754d5a95f3319f6eb06ed820233 Mon Sep 17 00:00:00 2001 From: D G Turner Date: Thu, 3 Oct 2019 00:59:41 +0100 Subject: GRAPHICS: Add Missing Switch Default Case in PixelFormat Header These are flagged by GCC if -Wswitch-default is enabled. --- graphics/pixelformat.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'graphics') 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 -- cgit v1.2.3