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/proto.c | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/base/proto.c') diff --git a/src/base/proto.c b/src/base/proto.c index 3038cd8..b1a6799 100644 --- a/src/base/proto.c +++ b/src/base/proto.c @@ -100,6 +100,8 @@ void proto_send_hello_client(char *name) static void action_sendItem(space_t * space, item_t * item, client_t * client) { + UNUSET(space); + proto_send_additem_server(PROTO_SEND_ONE, client, item); } @@ -242,6 +244,8 @@ void proto_send_status_server(int type, client_t * client) void proto_recv_status_server(client_t * client, char *msg) { + UNUSET(msg); + proto_send_status_server(PROTO_SEND_ONE, client); } @@ -878,6 +882,8 @@ void proto_send_module_client(char *msg) void proto_recv_module_server(client_t * client, char *msg) { + UNUSET(client); + module_recv_msg(msg + 7); } @@ -917,6 +923,8 @@ void proto_send_ping_client() void proto_recv_ping_server(client_t * client, char *msg) { + UNUSET(client); + UNUSET(msg); } void proto_send_ping_server(int type, client_t * client) @@ -931,6 +939,7 @@ void proto_send_ping_server(int type, client_t * client) void proto_recv_ping_client(char *msg) { + UNUSET(msg); } #endif -- cgit v1.2.3