From 90656bf081fde45eb6e1aab2cd50a3a2b8dd17c8 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 8 Jun 2017 03:51:32 +0300 Subject: Remove useless string initialisations. --- src/actions/chat.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/actions') diff --git a/src/actions/chat.cpp b/src/actions/chat.cpp index 99d847c39..c0aea0179 100644 --- a/src/actions/chat.cpp +++ b/src/actions/chat.cpp @@ -667,7 +667,7 @@ impHandler(guildNotice) } const std::string str1 = args.substr(0, 60); - std::string str2(""); + std::string str2; if (args.size() > 60) str2 = args.substr(60); const Guild *const guild = localPlayer->getGuild(); -- cgit v1.2.3-60-g2f50