From c110ffcdaa8b928a984a89cebacd03f5caaace06 Mon Sep 17 00:00:00 2001 From: Filip Gawin Date: Sat, 2 Mar 2019 19:42:25 +0100 Subject: Remove redundant initialization --- Source/UnitTests/Common/StringUtilTest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Source/UnitTests/Common/StringUtilTest.cpp') 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'); -- cgit v1.2.3