diff options
author | Haru <haru@dotalux.com> | 2015-07-07 21:19:43 +0200 |
---|---|---|
committer | Haru <haru@dotalux.com> | 2015-07-07 21:19:43 +0200 |
commit | 5fd40de233d3a897284f771338cbf8e657182261 (patch) | |
tree | f2d101b08c25a9075452be3aedfc903595139037 /src/map/skill.c | |
parent | 0177783215ae97d08109f7af91a20b78b6a0df90 (diff) | |
download | hercules-5fd40de233d3a897284f771338cbf8e657182261.tar.gz hercules-5fd40de233d3a897284f771338cbf8e657182261.tar.bz2 hercules-5fd40de233d3a897284f771338cbf8e657182261.tar.xz hercules-5fd40de233d3a897284f771338cbf8e657182261.zip |
Fixed a compile error on armv7l (Raspberry Pi 2 model B)
According to the C specifications, va_list isn't necessarily a pointer
(it can be an array of pointers, or just about anything). As such, we
can't nullpo check it.
Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'src/map/skill.c')
-rw-r--r-- | src/map/skill.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/map/skill.c b/src/map/skill.c index c6233c31d..13cdeede3 100644 --- a/src/map/skill.c +++ b/src/map/skill.c @@ -15495,7 +15495,6 @@ int skill_graffitiremover (struct block_list *bl, va_list ap) { struct skill_unit *su=NULL; nullpo_ret(bl); - nullpo_ret(ap); if(bl->type != BL_SKILL) return 0; @@ -15526,7 +15525,6 @@ int skill_detonator(struct block_list *bl, va_list ap) { int unit_id; nullpo_ret(bl); - nullpo_ret(ap); src = va_arg(ap,struct block_list *); if( bl->type != BL_SKILL ) |