mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-16 03:38:38 +12:00
rsx: Apply Clang-Tidy fix "readability-redundant-string-init"
This commit is contained in:
parent
331fe01762
commit
8f2647555a
7 changed files with 13 additions and 13 deletions
|
@ -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];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue