From c110ffcdaa8b928a984a89cebacd03f5caaace06 Mon Sep 17 00:00:00 2001 From: Filip Gawin Date: Sat, 2 Mar 2019 19:42:25 +0100 Subject: Remove redundant initialization --- Source/Core/VideoCommon/TextureCacheBase.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Source/Core/VideoCommon/TextureCacheBase.cpp') diff --git a/Source/Core/VideoCommon/TextureCacheBase.cpp b/Source/Core/VideoCommon/TextureCacheBase.cpp index 79e924771d..6860fc8992 100644 --- a/Source/Core/VideoCommon/TextureCacheBase.cpp +++ b/Source/Core/VideoCommon/TextureCacheBase.cpp @@ -1127,7 +1127,7 @@ TextureCacheBase::GetTexture(u32 address, u32 width, u32 height, const TextureFo entry->memory_stride = entry->BytesPerRow(); entry->SetNotCopy(); - std::string basename = ""; + std::string basename; if (g_ActiveConfig.bDumpTextures && !hires_tex) { basename = HiresTexture::GenBaseName(src_data, texture_size, &texMem[tlutaddr], palette_size, -- cgit v1.2.3