summaryrefslogtreecommitdiff
path: root/src/base/proto.c
diff options
context:
space:
mode:
authorMichal Zima <xhire@mujmalysvet.cz>2010-06-18 13:09:40 +0200
committerMichal Zima <xhire@mujmalysvet.cz>2010-06-18 13:09:40 +0200
commite7a6a7a14aeea2ee9f2c235d0cbabf0cb3660e89 (patch)
tree4ab86d23b7470657761d754426bab3645a91bf14 /src/base/proto.c
parent8a278016b0ebe4b2a20348f1ebb2aff3037248c3 (diff)
Wiped out all "UNUSED" stuff
Plus small code cleaning, simplifying of some statements etc.
Diffstat (limited to 'src/base/proto.c')
-rw-r--r--src/base/proto.c9
1 files changed, 0 insertions, 9 deletions
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 */