From 31941d9f3b2a665317503166785a3eb6cef35a9c Mon Sep 17 00:00:00 2001 From: Dusan Durech Date: Wed, 22 Apr 2009 19:54:52 +0200 Subject: fix _all_ warnings // used macro UNUSET --- src/base/arena.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'src/base/arena.c') diff --git a/src/base/arena.c b/src/base/arena.c index 868d6bb..4f9f51f 100644 --- a/src/base/arena.c +++ b/src/base/arena.c @@ -222,16 +222,25 @@ static void drawBackground(arena_t * arena, int screen_x, int screen_y) static void action_tux_draw(space_t * space, tux_t * tux, void *p) { + UNUSET(space); + UNUSET(p); + tux_draw(tux); } static void action_item_draw(space_t * space, item_t * item, void *p) { + UNUSET(space); + UNUSET(p); + item_draw(item); } static void action_shot_draw(space_t * space, shot_t * shot, void *p) { + UNUSET(space); + UNUSET(p); + shot_draw(shot); } @@ -372,6 +381,9 @@ void arena_draw(arena_t * arena) static void action_tux(space_t * space, tux_t * tux, void *p) { + UNUSET(space); + UNUSET(p); + tux_event(tux); } -- cgit v1.2.3