summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/TextureCacheBase.cpp
diff options
context:
space:
mode:
authorLéo Lam <leo@innovatetechnologi.es>2019-05-04 22:50:51 +0200
committerGitHub <noreply@github.com>2019-05-04 22:50:51 +0200
commit99a4ca8de7111c8554b50217744e24bc71912cfe (patch)
tree58d53e3d78f2640defa80fd8f71752ac1d3d214c /Source/Core/VideoCommon/TextureCacheBase.cpp
parentafa46aaf43260039053a45d3f332a525f53621b6 (diff)
parentc110ffcdaa8b928a984a89cebacd03f5caaace06 (diff)
Merge pull request #7839 from ShFil119/impr/redundant
Remove redundant initialization
Diffstat (limited to 'Source/Core/VideoCommon/TextureCacheBase.cpp')
-rw-r--r--Source/Core/VideoCommon/TextureCacheBase.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/VideoCommon/TextureCacheBase.cpp b/Source/Core/VideoCommon/TextureCacheBase.cpp
index 22ccf8185f..d0e12a9171 100644
--- a/Source/Core/VideoCommon/TextureCacheBase.cpp
+++ b/Source/Core/VideoCommon/TextureCacheBase.cpp
@@ -1128,7 +1128,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,