diff options
| author | Filip Gawin <filip.gawin@zoho.com> | 2019-03-02 19:42:25 +0100 |
|---|---|---|
| committer | Filip Gawin <filip.gawin@zoho.com> | 2019-04-30 01:22:24 +0200 |
| commit | c110ffcdaa8b928a984a89cebacd03f5caaace06 (patch) | |
| tree | d44f19a905630c3c2e25aa4b04b506e929c87305 /Source/Core/VideoCommon | |
| parent | 8e1fb126d711f7dcecbf16725d35b06cdc8f18b9 (diff) | |
Remove redundant initialization
Diffstat (limited to 'Source/Core/VideoCommon')
| -rw-r--r-- | Source/Core/VideoCommon/PostProcessing.cpp | 2 | ||||
| -rw-r--r-- | Source/Core/VideoCommon/TextureCacheBase.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/VideoCommon/PostProcessing.cpp b/Source/Core/VideoCommon/PostProcessing.cpp index b1c9c42056..1f42bd52ca 100644 --- a/Source/Core/VideoCommon/PostProcessing.cpp +++ b/Source/Core/VideoCommon/PostProcessing.cpp @@ -275,7 +275,7 @@ void PostProcessingConfiguration::SaveOptionsConfiguration() break; case ConfigurationOption::OptionType::OPTION_INTEGER: { - std::string value = ""; + std::string value; for (size_t i = 0; i < it.second.m_integer_values.size(); ++i) value += StringFromFormat("%d%s", it.second.m_integer_values[i], i == (it.second.m_integer_values.size() - 1) ? "" : ", "); 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, |
