diff options
| author | Dusan Durech <dusan@debian.debian> | 2009-04-22 19:54:52 +0200 |
|---|---|---|
| committer | Dusan Durech <dusan@debian.debian> | 2009-04-22 19:54:52 +0200 |
| commit | 31941d9f3b2a665317503166785a3eb6cef35a9c (patch) | |
| tree | c0740c7c14689593ff405d62f3111f9c326cc2d0 /src/base/proto.c | |
| parent | f760a8c01827d97affff6acc0ec666b30e26395f (diff) | |
fix _all_ warnings // used macro UNUSET
Diffstat (limited to 'src/base/proto.c')
| -rw-r--r-- | src/base/proto.c | 9 |
1 files changed, 9 insertions, 0 deletions
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 |