From e7a6a7a14aeea2ee9f2c235d0cbabf0cb3660e89 Mon Sep 17 00:00:00 2001 From: Michal Zima Date: Fri, 18 Jun 2010 13:09:40 +0200 Subject: Wiped out all "UNUSED" stuff Plus small code cleaning, simplifying of some statements etc. --- src/base/proto.c | 9 --------- 1 file changed, 9 deletions(-) (limited to 'src/base/proto.c') diff --git a/src/base/proto.c b/src/base/proto.c index f3f66ff..4a9e2bb 100644 --- a/src/base/proto.c +++ b/src/base/proto.c @@ -91,8 +91,6 @@ void proto_send_hello_client(char *name) static void action_sendItem(space_t *space, item_t *item, client_t *client) { - UNUSED(space); - proto_send_additem_server(PROTO_SEND_ONE, client, item); } @@ -233,8 +231,6 @@ void proto_send_status_server(int type, client_t *client) void proto_recv_status_server(client_t *client, char *msg) { - UNUSED(msg); - proto_send_status_server(PROTO_SEND_ONE, client); } @@ -842,8 +838,6 @@ void proto_send_module_client(char *msg) void proto_recv_module_server(client_t *client, char *msg) { - UNUSED(client); - module_recv_msg(msg + 7); } @@ -878,8 +872,6 @@ void proto_send_ping_client() void proto_recv_ping_server(client_t *client, char *msg) { - UNUSED(client); - UNUSED(msg); } void proto_send_ping_server(int type, client_t *client) @@ -893,7 +885,6 @@ void proto_send_ping_server(int type, client_t *client) #ifndef PUBLIC_SERVER void proto_recv_ping_client(char *msg) { - UNUSED(msg); } #endif /* PUBLIC_SERVER */ -- cgit v1.2.3