summaryrefslogtreecommitdiff
path: root/src/base/server.c
diff options
context:
space:
mode:
authorDusan Durech <dusan@debian.debian>2009-04-22 19:54:52 +0200
committerDusan Durech <dusan@debian.debian>2009-04-22 19:54:52 +0200
commit31941d9f3b2a665317503166785a3eb6cef35a9c (patch)
treec0740c7c14689593ff405d62f3111f9c326cc2d0 /src/base/server.c
parentf760a8c01827d97affff6acc0ec666b30e26395f (diff)
fix _all_ warnings // used macro UNUSET
Diffstat (limited to 'src/base/server.c')
-rw-r--r--src/base/server.c6
1 files changed, 6 insertions, 0 deletions
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);
}