summaryrefslogtreecommitdiff
path: root/src/actions/chat.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-06-08 03:51:32 +0300
committerAndrei Karas <akaras@inbox.ru>2017-06-08 03:51:32 +0300
commit90656bf081fde45eb6e1aab2cd50a3a2b8dd17c8 (patch)
treeb6fe4d5494381abfe7800022a67bbdfd2e20f97e /src/actions/chat.cpp
parentb0d6ef00eebb7dcd03b051db63840c04243a784d (diff)
downloadmv-90656bf081fde45eb6e1aab2cd50a3a2b8dd17c8.tar.gz
mv-90656bf081fde45eb6e1aab2cd50a3a2b8dd17c8.tar.bz2
mv-90656bf081fde45eb6e1aab2cd50a3a2b8dd17c8.tar.xz
mv-90656bf081fde45eb6e1aab2cd50a3a2b8dd17c8.zip
Remove useless string initialisations.
Diffstat (limited to 'src/actions/chat.cpp')
-rw-r--r--src/actions/chat.cpp2
1 files changed, 1 insertions, 1 deletions
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();