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/shot.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/base/shot.c') diff --git a/src/base/shot.c b/src/base/shot.c index 5d55f82..b19877a 100644 --- a/src/base/shot.c +++ b/src/base/shot.c @@ -262,6 +262,8 @@ static void action_moveShot(space_t * space, shot_t * shot, void *p) int new_x, new_y; arena_t *arena; + UNUSET(p); + arena = arena_get_current(); new_x = shot->x + shot->px; @@ -295,6 +297,8 @@ static int isValueInList(list_t * list, int x) static void action_check(space_t * space, shot_t * shot, client_t * client) { + UNUSET(space); + if (isValueInList(client->listSeesShot, shot->id) == 0) { list_add(client->listSeesShot, newInt(shot->id)); proto_send_shot_server(PROTO_SEND_ONE, client, shot); -- cgit v1.2.3