summaryrefslogtreecommitdiff
path: root/src/const
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/const
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/const')
-rw-r--r--src/const/gui/chat.h2
-rw-r--r--src/const/resources/spriteaction.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/const/gui/chat.h b/src/const/gui/chat.h
index 5b3eadb2a..a39516e13 100644
--- a/src/const/gui/chat.h
+++ b/src/const/gui/chat.h
@@ -25,7 +25,7 @@
#include <string>
-const std::string GENERAL_CHANNEL = "";
+const std::string GENERAL_CHANNEL;
const std::string GM_CHANNEL = "#gm";
const std::string TRADE_CHANNEL = "#trade";
diff --git a/src/const/resources/spriteaction.h b/src/const/resources/spriteaction.h
index 988eda378..da865d3df 100644
--- a/src/const/resources/spriteaction.h
+++ b/src/const/resources/spriteaction.h
@@ -68,7 +68,7 @@ namespace SpriteAction
static const std::string DEADWATER("deadwater");
static const std::string DEADRIDE("deadride");
- static const std::string INVALID("");
+ static const std::string INVALID;
} // namespace SpriteAction
#endif // CONST_RESOURCES_SPRITEACTION_H