From 80c7e3ebc012fc9bf2413ce3953ac90414f572d2 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Tue, 29 Sep 2015 11:00:56 -0400 Subject: [PATCH 1/2] TextureDecoder_x64: Remove clang warning suppression This was an issue two years ago on clang 3.3 --- Source/Core/VideoCommon/TextureDecoder_x64.cpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/Source/Core/VideoCommon/TextureDecoder_x64.cpp b/Source/Core/VideoCommon/TextureDecoder_x64.cpp index 3064b0f3c1..b07e34064b 100644 --- a/Source/Core/VideoCommon/TextureDecoder_x64.cpp +++ b/Source/Core/VideoCommon/TextureDecoder_x64.cpp @@ -14,12 +14,6 @@ #include "VideoCommon/TextureDecoder.h" #include "VideoCommon/VideoConfig.h" -// This avoids a harmless warning from a system header in Clang; -// see http://llvm.org/bugs/show_bug.cgi?id=16093 -#if defined(__clang__) && (__clang_major__ * 100 + __clang_minor__ < 304) -#pragma clang diagnostic ignored "-Wshadow" -#endif - // GameCube/Wii texture decoder // Decodes all known GameCube/Wii texture formats. From 50a73906228d9f304608eebcc06fbea319b5e229 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Tue, 29 Sep 2015 11:04:00 -0400 Subject: [PATCH 2/2] TextureDecoder_x64: Remove unnecessary commented out header --- Source/Core/VideoCommon/TextureDecoder_x64.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/Source/Core/VideoCommon/TextureDecoder_x64.cpp b/Source/Core/VideoCommon/TextureDecoder_x64.cpp index b07e34064b..405d4de592 100644 --- a/Source/Core/VideoCommon/TextureDecoder_x64.cpp +++ b/Source/Core/VideoCommon/TextureDecoder_x64.cpp @@ -6,7 +6,6 @@ #include #include "Common/Common.h" -//#include "VideoCommon.h" // to get debug logs #include "Common/CPUDetect.h" #include "Common/Intrinsics.h"