From 5fd40de233d3a897284f771338cbf8e657182261 Mon Sep 17 00:00:00 2001 From: Haru Date: Tue, 7 Jul 2015 21:19:43 +0200 Subject: 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 --- src/map/skill.c | 2 -- 1 file changed, 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 ) -- cgit v1.2.3-70-g09d2