From cef5bd4a093482856f94e43361645e988289ab89 Mon Sep 17 00:00:00 2001 From: Michael Maltese Date: Thu, 6 Apr 2017 13:52:42 -0700 Subject: [PATCH] TextureCacheBase: remove duplicated variable Fixes warning: ``` Source/Core/VideoCommon/TextureCacheBase.cpp:869:17: warning: declaration shadows a local variable [-Wshadow] const u8* tlut = &texMem[tlutaddr]; ^ Source/Core/VideoCommon/TextureCacheBase.cpp:784:13: note: previous declaration is here const u8* tlut = &texMem[tlutaddr]; ^ ``` --- Source/Core/VideoCommon/TextureCacheBase.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/Source/Core/VideoCommon/TextureCacheBase.cpp b/Source/Core/VideoCommon/TextureCacheBase.cpp index 4894914b5c..0db64e5996 100644 --- a/Source/Core/VideoCommon/TextureCacheBase.cpp +++ b/Source/Core/VideoCommon/TextureCacheBase.cpp @@ -866,7 +866,6 @@ TextureCacheBase::TCacheEntryBase* TextureCacheBase::Load(const u32 stage) const u8*& mip_src_data = from_tmem ? ((level % 2) ? ptr_odd : ptr_even) : src_data; size_t mip_size = TexDecoder_GetTextureSizeInBytes(expanded_mip_width, expanded_mip_height, texformat); - const u8* tlut = &texMem[tlutaddr]; if (decode_on_gpu) {