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/modules/modWall.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'src/modules/modWall.c') diff --git a/src/modules/modWall.c b/src/modules/modWall.c index 966edcd..6e9b54f 100644 --- a/src/modules/modWall.c +++ b/src/modules/modWall.c @@ -157,6 +157,11 @@ static void getStatusImgWall(void *p, int *id, int *x, int *y, int *w, int *h) static void setStatusImgWall(void *p, int x, int y, int w, int h) { + UNUSET(p); + UNUSET(x); + UNUSET(y); + UNUSET(w); + UNUSET(h); } #endif @@ -253,6 +258,9 @@ int init(export_fce_t * p) static void action_drawwall(space_t * space, wall_t * wall, void *p) { + UNUSET(space); + UNUSET(p); + drawWall(wall); } @@ -275,6 +283,9 @@ static void action_eventwall(space_t * space, wall_t * wall, shot_t * shot) arena_t *arena; tux_t *author; + UNUSET(space); + UNUSET(wall); + arena = export_fce->fce_arena_get_current(); author = space_get_object_id(arena->spaceTux, shot->author_id); @@ -335,6 +346,7 @@ void cmdArena(char *line) void recvMsg(char *msg) { + UNUSET(msg); } int destroy() -- cgit v1.2.3