summaryrefslogtreecommitdiff
path: root/src/configuration.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/configuration.cpp
parentb0d6ef00eebb7dcd03b051db63840c04243a784d (diff)
downloadmanaverse-90656bf081fde45eb6e1aab2cd50a3a2b8dd17c8.tar.gz
manaverse-90656bf081fde45eb6e1aab2cd50a3a2b8dd17c8.tar.bz2
manaverse-90656bf081fde45eb6e1aab2cd50a3a2b8dd17c8.tar.xz
manaverse-90656bf081fde45eb6e1aab2cd50a3a2b8dd17c8.zip
Remove useless string initialisations.
Diffstat (limited to 'src/configuration.cpp')
-rw-r--r--src/configuration.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/configuration.cpp b/src/configuration.cpp
index f820a6c49..9e0fd1412 100644
--- a/src/configuration.cpp
+++ b/src/configuration.cpp
@@ -494,7 +494,7 @@ int Configuration::resetIntValue(const std::string &key)
std::string Configuration::getStringValue(const std::string &key) const
{
GETLOG();
- std::string defaultValue("");
+ std::string defaultValue;
const Options::const_iterator iter = mOptions.find(key);
if (iter == mOptions.end())
{