From 484fb46390bcdffcf9509f8d6c784f5b7bce0167 Mon Sep 17 00:00:00 2001 From: Ryan Houdek Date: Mon, 17 Mar 2014 18:17:12 -0500 Subject: Clang 3.4 exposes some warnings on Android. Fixes all warnings on Android build except for what is in externals. Removes a function from TextureDecoder_Generic since it is unused and generates a warning. --- Source/Core/VideoCommon/TextureDecoder_Generic.cpp | 7 ------- 1 file changed, 7 deletions(-) (limited to 'Source/Core/VideoCommon/TextureDecoder_Generic.cpp') diff --git a/Source/Core/VideoCommon/TextureDecoder_Generic.cpp b/Source/Core/VideoCommon/TextureDecoder_Generic.cpp index b7141b7778..95ead9c174 100644 --- a/Source/Core/VideoCommon/TextureDecoder_Generic.cpp +++ b/Source/Core/VideoCommon/TextureDecoder_Generic.cpp @@ -170,13 +170,6 @@ int TexDecoder_GetPaletteSize(int format) } } -static inline u32 decodeIA8(u16 val) -{ - int a = val >> 8; - int i = val & 0xFF; - return (a << 24) | (i << 16) | (i << 8) | i; -} - static inline u32 decode5A3(u16 val) { int r,g,b,a; -- cgit v1.2.3