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/modPipe.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/modules/modPipe.c') diff --git a/src/modules/modPipe.c b/src/modules/modPipe.c index 1759fc5..19c840d 100644 --- a/src/modules/modPipe.c +++ b/src/modules/modPipe.c @@ -221,6 +221,9 @@ int init(export_fce_t * p) static void action_drawpipe(space_t * space, pipe_t * pipe, void *p) { + UNUSET(space); + UNUSET(p); + drawPipe(pipe); } @@ -296,6 +299,8 @@ static void action_eventpipe(space_t * space, pipe_t * pipe, shot_t * shot) arena_t *arena; tux_t *author; + UNUSET(space); + arena = export_fce->fce_arena_get_current(); author = space_get_object_id(arena->spaceTux, shot->author_id); @@ -365,7 +370,7 @@ void cmdArena(char *line) void recvMsg(char *msg) { - + UNUSET(msg); } int destroy() -- cgit v1.2.3