summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-10-18 16:16:49 +0300
committerAndrei Karas <akaras@inbox.ru>2013-10-19 15:12:20 +0300
commit28b11ea101e08bba4a8b8b00ed553ffeb223384a (patch)
treee38bdbbe3dbc46a07c516e74da9f1dbb8bbc6d3b
parent49965a6282c0f8273ba30ddc48d877334c39bd2a (diff)
downloadmanaplus-28b11ea101e08bba4a8b8b00ed553ffeb223384a.tar.gz
manaplus-28b11ea101e08bba4a8b8b00ed553ffeb223384a.tar.bz2
manaplus-28b11ea101e08bba4a8b8b00ed553ffeb223384a.tar.xz
manaplus-28b11ea101e08bba4a8b8b00ed553ffeb223384a.zip
add missing initialisation in localplayer.
-rw-r--r--src/being/localplayer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/being/localplayer.cpp b/src/being/localplayer.cpp
index b1f577197..4bff1320e 100644
--- a/src/being/localplayer.cpp
+++ b/src/being/localplayer.cpp
@@ -1364,7 +1364,7 @@ void LocalPlayer::pickedUp(const ItemInfo &itemInfo, const int amount,
item->setShowMsg(false);
}
}
- const char* msg;
+ const char* msg = nullptr;
switch (fail)
{
case PICKUP_BAD_ITEM: