rsx: Apply Clang-Tidy fix "readability-redundant-string-init"

This commit is contained in:
scribam 2019-06-08 08:04:56 +02:00 committed by kd-11
parent 331fe01762
commit 8f2647555a
7 changed files with 13 additions and 13 deletions

View file

@ -223,7 +223,7 @@ public:
std::string GetCgParamName(u32 offset) const
{
std::stringstream str_stream;
std::string name = "";
std::string name;
while (m_buffer[offset] != 0)
{
str_stream << m_buffer[offset];
@ -243,7 +243,7 @@ public:
std::string GetCgParamSemantic(u32 offset) const
{
std::stringstream str_stream;
std::string semantic = "";
std::string semantic;
while (m_buffer[offset] != 0)
{
str_stream << m_buffer[offset];