From 28b11ea101e08bba4a8b8b00ed553ffeb223384a Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 18 Oct 2013 16:16:49 +0300 Subject: add missing initialisation in localplayer. --- src/being/localplayer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- cgit v1.2.3-70-g09d2