summaryrefslogtreecommitdiff
path: root/Source/UnitTests/Common/StringUtilTest.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/UnitTests/Common/StringUtilTest.cpp
parentafa46aaf43260039053a45d3f332a525f53621b6 (diff)
parentc110ffcdaa8b928a984a89cebacd03f5caaace06 (diff)
Merge pull request #7839 from ShFil119/impr/redundant
Remove redundant initialization
Diffstat (limited to 'Source/UnitTests/Common/StringUtilTest.cpp')
-rw-r--r--Source/UnitTests/Common/StringUtilTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/UnitTests/Common/StringUtilTest.cpp b/Source/UnitTests/Common/StringUtilTest.cpp
index cae007fdbe..b9b186c131 100644
--- a/Source/UnitTests/Common/StringUtilTest.cpp
+++ b/Source/UnitTests/Common/StringUtilTest.cpp
@@ -44,7 +44,7 @@ TEST(StringUtil, StringEndsWith)
TEST(StringUtil, StringPopBackIf)
{
std::string abc = "abc";
- std::string empty = "";
+ std::string empty;
StringPopBackIf(&abc, 'a');
StringPopBackIf(&empty, 'a');