diff options
| author | Léo Lam <leo@innovatetechnologi.es> | 2019-05-04 22:50:51 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-05-04 22:50:51 +0200 |
| commit | 99a4ca8de7111c8554b50217744e24bc71912cfe (patch) | |
| tree | 58d53e3d78f2640defa80fd8f71752ac1d3d214c /Source/UnitTests/Common/StringUtilTest.cpp | |
| parent | afa46aaf43260039053a45d3f332a525f53621b6 (diff) | |
| parent | c110ffcdaa8b928a984a89cebacd03f5caaace06 (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.cpp | 2 |
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'); |
