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/server.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/base/server.c') diff --git a/src/base/server.c b/src/base/server.c index bbaf71d..6eeab70 100644 --- a/src/base/server.c +++ b/src/base/server.c @@ -162,6 +162,8 @@ static void delZombieCLient(void *p_nothink) my_time_t currentTime; int i; + UNUSET(p_nothink); + currentTime = timer_get_current_time(); for (i = 0; i < listClient->count; i++) { @@ -190,6 +192,8 @@ static void eventPeriodicSyncClient(void *p_nothink) tux_t *thisTux; int i; + UNUSET(p_nothink); + #ifndef PUBLIC_SERVER proto_send_newtux_server(PROTO_SEND_ALL_SEES_TUX, NULL, world_get_control_tux(TUX_CONTROL_KEYBOARD_RIGHT)); #endif @@ -209,6 +213,8 @@ static void eventPeriodicSyncClient(void *p_nothink) static void eventSendPingClients(void *p_nothink) { + UNUSET(p_nothink); + proto_send_ping_server(PROTO_SEND_ALL, NULL); } -- cgit v1.2.3