From b030d290671c283020c405dfd9e8658935dcf1cf Mon Sep 17 00:00:00 2001 From: Rohit Nirmal Date: Tue, 2 Dec 2014 18:20:52 -0600 Subject: Silence some -Wswitch-default warnings. --- Source/Core/VideoCommon/TextureDecoder_Common.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Source/Core/VideoCommon/TextureDecoder_Common.cpp') diff --git a/Source/Core/VideoCommon/TextureDecoder_Common.cpp b/Source/Core/VideoCommon/TextureDecoder_Common.cpp index 71e801afe7..e879e45e18 100644 --- a/Source/Core/VideoCommon/TextureDecoder_Common.cpp +++ b/Source/Core/VideoCommon/TextureDecoder_Common.cpp @@ -571,6 +571,9 @@ void TexDecoder_DecodeTexel(u8 *dst, const u8 *src, int s, int t, int imageWidth case 7: color = MakeRGBA(red2, green2, blue2, 0); break; + default: + color = 0; + break; } *((u32*)dst) = color; -- cgit v1.2.3