diff options
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 4665a70d..61e44506 100644 --- a/src/net/manaserv/charhandler.cpp +++ b/src/net/manaserv/charhandler.cpp @@ -132,7 +132,7 @@ void CharHandler::handleCharacterCreateResponse(MessageIn &msg) if (errMsg != ERRMSG_OK) { // Character creation failed - std::string errorMessage = ""; + std::string errorMessage; switch (errMsg) { case ERRMSG_NO_LOGIN: @@ -213,7 +213,7 @@ void CharHandler::handleCharacterDeleteResponse(MessageIn &msg) else { // Character deletion failed - std::string errorMessage = ""; + std::string errorMessage; switch (errMsg) { case ERRMSG_NO_LOGIN: |