From 64dca8681c90dca15009fb82e54154d3faf3b1d6 Mon Sep 17 00:00:00 2001 From: shennetsind Date: Thu, 25 Apr 2013 10:32:26 -0300 Subject: Fixed Bug #7189 http://hercules.ws/board/tracker/issue-7189-warning-while-recompiling-using-centos5/ Signed-off-by: shennetsind --- src/map/pc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/map') diff --git a/src/map/pc.c b/src/map/pc.c index 2ac5d6919..671cea6c4 100644 --- a/src/map/pc.c +++ b/src/map/pc.c @@ -4593,7 +4593,7 @@ int pc_steal_item(struct map_session_data *sd,struct block_list *bl, uint16 skil struct status_data *sd_status, *md_status; struct mob_data *md; struct item tmp_item; - struct item_data *data; + struct item_data *data = NULL; if(!sd || !bl || bl->type!=BL_MOB) return 0; -- cgit v1.2.3-70-g09d2