diff options
author | Haru <haru@dotalux.com> | 2015-01-12 18:26:03 +0100 |
---|---|---|
committer | Haru <haru@dotalux.com> | 2015-01-12 18:31:37 +0100 |
commit | e53d7e97068b404591170436e27aa5f85b079358 (patch) | |
tree | 2986cf7796383506c75317d3fafa989a81ae48bb | |
parent | 7fc45ed76a43749c4b3a115500b1dcffb9fbf639 (diff) | |
download | hercules-e53d7e97068b404591170436e27aa5f85b079358.tar.gz hercules-e53d7e97068b404591170436e27aa5f85b079358.tar.bz2 hercules-e53d7e97068b404591170436e27aa5f85b079358.tar.xz hercules-e53d7e97068b404591170436e27aa5f85b079358.zip |
Fixed an uninitialized variable in skill.c
Signed-off-by: Haru <haru@dotalux.com>
-rw-r--r-- | src/map/skill.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/skill.c b/src/map/skill.c index db675d7f4..93396fcbc 100644 --- a/src/map/skill.c +++ b/src/map/skill.c @@ -3152,7 +3152,7 @@ int skill_area_sub_count(struct block_list *src, struct block_list *target, uint * *------------------------------------------*/ int skill_timerskill(int tid, int64 tick, int id, intptr_t data) { - struct block_list *src = map->id2bl(id),*target; + struct block_list *src = map->id2bl(id),*target = NULL; struct unit_data *ud = unit->bl2ud(src); struct skill_timerskill *skl; int range; |