diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-09-10 15:48:22 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-09-10 15:48:22 +0300 |
commit | 13670eefeb4b256c20b603a845eb89f5221a32e5 (patch) | |
tree | 7a49048dd2693284789a23dd2a97aaa593b0ae5c /src/net/manaserv/charhandler.cpp | |
parent | 99c02724d193dbd6219c4ce036c43795d6562047 (diff) | |
download | manaverse-13670eefeb4b256c20b603a845eb89f5221a32e5.tar.gz manaverse-13670eefeb4b256c20b603a845eb89f5221a32e5.tar.bz2 manaverse-13670eefeb4b256c20b603a845eb89f5221a32e5.tar.xz manaverse-13670eefeb4b256c20b603a845eb89f5221a32e5.zip |
Change empty strings initializations.
Diffstat (limited to 'src/net/manaserv/charhandler.cpp')
-rw-r--r-- | src/net/manaserv/charhandler.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/net/manaserv/charhandler.cpp b/src/net/manaserv/charhandler.cpp index 3b2306feb..42db6e621 100644 --- a/src/net/manaserv/charhandler.cpp +++ b/src/net/manaserv/charhandler.cpp @@ -138,7 +138,7 @@ void CharHandler::handleCharacterCreateResponse(Net::MessageIn &msg) if (errMsg != ERRMSG_OK) { // Character creation failed - std::string errorMessage = ""; + std::string errorMessage(""); switch (errMsg) { case ERRMSG_NO_LOGIN: @@ -212,7 +212,7 @@ void CharHandler::handleCharacterDeleteResponse(Net::MessageIn &msg) else { // Character deletion failed - std::string errorMessage = ""; + std::string errorMessage(""); switch (errMsg) { case ERRMSG_NO_LOGIN: |