summaryrefslogtreecommitdiff
path: root/src/map/pc.c
diff options
context:
space:
mode:
authorshennetsind <ind@henn.et>2013-04-25 10:32:26 -0300
committershennetsind <ind@henn.et>2013-04-25 10:32:26 -0300
commit64dca8681c90dca15009fb82e54154d3faf3b1d6 (patch)
tree9ca903e8938b7234e4fd801ae2d0d6a4cd57f145 /src/map/pc.c
parent064a4ecf07689e8ee673bb17e5cf342ae3cdd585 (diff)
downloadhercules-64dca8681c90dca15009fb82e54154d3faf3b1d6.tar.gz
hercules-64dca8681c90dca15009fb82e54154d3faf3b1d6.tar.bz2
hercules-64dca8681c90dca15009fb82e54154d3faf3b1d6.tar.xz
hercules-64dca8681c90dca15009fb82e54154d3faf3b1d6.zip
Fixed Bug #7189
http://hercules.ws/board/tracker/issue-7189-warning-while-recompiling-using-centos5/ Signed-off-by: shennetsind <ind@henn.et>
Diffstat (limited to 'src/map/pc.c')
-rw-r--r--src/map/pc.c2
1 files changed, 1 insertions, 1 deletions
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;