diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-01-11 13:31:16 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-01-12 22:49:16 +0300 |
commit | d08d502d325b8dfbd344ab5a657216112beb9944 (patch) | |
tree | 9ac130677dd7d4ae87ebcfcdd71f5f96bb6c3400 /src/map/skill.c | |
parent | d434cdd4f7471b8526a44d1d6834f7e3c9c92eb7 (diff) | |
download | hercules-d08d502d325b8dfbd344ab5a657216112beb9944.tar.gz hercules-d08d502d325b8dfbd344ab5a657216112beb9944.tar.bz2 hercules-d08d502d325b8dfbd344ab5a657216112beb9944.tar.xz hercules-d08d502d325b8dfbd344ab5a657216112beb9944.zip |
Fix uninitialized warning in skill.c.
Diffstat (limited to 'src/map/skill.c')
-rw-r--r-- | src/map/skill.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/skill.c b/src/map/skill.c index 28acb0b7f..53be5541c 100644 --- a/src/map/skill.c +++ b/src/map/skill.c @@ -3382,7 +3382,7 @@ int skill_timerskill(int tid, int64 tick, int id, intptr_t data) { skill->get_type(skl->skill_id),src,src,skl->skill_id,skl->skill_lv,tick,skl->flag,BCT_ENEMY); break; default: - skill->timerskill_notarget_unknown(tid, tick, src, target, ud, skl); + skill->timerskill_notarget_unknown(tid, tick, src, ud, skl); break; } } @@ -3402,7 +3402,7 @@ void skill_timerskill_target_unknown(int tid, int64 tick, struct block_list *src skill->attack(skl->type, src, src, target, skl->skill_id, skl->skill_lv, tick, skl->flag); } -void skill_timerskill_notarget_unknown(int tid, int64 tick, struct block_list *src, struct block_list *target, struct unit_data *ud, struct skill_timerskill *skl) +void skill_timerskill_notarget_unknown(int tid, int64 tick, struct block_list *src, struct unit_data *ud, struct skill_timerskill *skl) { } |