summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/account-server/storage.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/account-server/storage.cpp b/src/account-server/storage.cpp
index dc46329b..43b32eeb 100644
--- a/src/account-server/storage.cpp
+++ b/src/account-server/storage.cpp
@@ -251,7 +251,7 @@ Account *Storage::getAccount(int accountID)
Character *Storage::getCharacterBySQL(Account *owner)
{
- Character *character;
+ Character *character = 0;
// Specialize the string_to functor to convert
// a string to an unsigned int.