diff options
author | FlavioJS <FlavioJS@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2008-11-22 23:54:34 +0000 |
---|---|---|
committer | FlavioJS <FlavioJS@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2008-11-22 23:54:34 +0000 |
commit | 1bb03e1549a9050049bc027566a448a530298b64 (patch) | |
tree | 608261af5fedb40990629bf14a434b918afe470b /src/map/skill.c | |
parent | 69fc1bcd69e4094d5e232acabf2a19376395d501 (diff) | |
download | hercules-1bb03e1549a9050049bc027566a448a530298b64.tar.gz hercules-1bb03e1549a9050049bc027566a448a530298b64.tar.bz2 hercules-1bb03e1549a9050049bc027566a448a530298b64.tar.xz hercules-1bb03e1549a9050049bc027566a448a530298b64.zip |
* Hunted down improper uses of va_list variables.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13383 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/skill.c')
-rw-r--r-- | src/map/skill.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/map/skill.c b/src/map/skill.c index fe1838eda..199c4f13f 100644 --- a/src/map/skill.c +++ b/src/map/skill.c @@ -1801,7 +1801,6 @@ int skill_area_sub (struct block_list *bl, va_list ap) SkillFunc func; nullpo_retr(0, bl); - nullpo_retr(0, ap); src=va_arg(ap,struct block_list *); skill_id=va_arg(ap,int); @@ -7569,7 +7568,6 @@ static int skill_check_condition_char_sub (struct block_list *bl, va_list ap) int *p_sd; //Contains the list of characters found. nullpo_retr(0, bl); - nullpo_retr(0, ap); nullpo_retr(0, tsd=(struct map_session_data*)bl); nullpo_retr(0, src=va_arg(ap,struct block_list *)); nullpo_retr(0, sd=(struct map_session_data*)src); @@ -9025,7 +9023,6 @@ int skill_frostjoke_scream (struct block_list *bl, va_list ap) unsigned int tick; nullpo_retr(0, bl); - nullpo_retr(0, ap); nullpo_retr(0, src=va_arg(ap,struct block_list*)); skillnum=va_arg(ap,int); @@ -9189,7 +9186,6 @@ int skill_greed (struct block_list *bl, va_list ap) struct flooritem_data *fitem=NULL; nullpo_retr(0, bl); - nullpo_retr(0, ap); nullpo_retr(0, src = va_arg(ap, struct block_list *)); if(src->type == BL_PC && (sd=(struct map_session_data *)src) && bl->type==BL_ITEM && (fitem=(struct flooritem_data *)bl)) |