summaryrefslogtreecommitdiff
path: root/Source/UnitTests/Common/StringUtilTest.cpp
diff options
context:
space:
mode:
authorFilip Gawin <filip.gawin@zoho.com>2019-03-02 19:42:25 +0100
committerFilip Gawin <filip.gawin@zoho.com>2019-04-30 01:22:24 +0200
commitc110ffcdaa8b928a984a89cebacd03f5caaace06 (patch)
treed44f19a905630c3c2e25aa4b04b506e929c87305 /Source/UnitTests/Common/StringUtilTest.cpp
parent8e1fb126d711f7dcecbf16725d35b06cdc8f18b9 (diff)
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');