diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-04-28 03:56:12 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-04-28 03:56:12 +0300 |
commit | 447787839e492410611ebe16d01fd5e1ae52e045 (patch) | |
tree | 0df52644e225f65e2d23f358dc4db5906c1595be /src/echar/char.c | |
parent | d37fe74804b94065259703509b4b3dc3f53c30a5 (diff) | |
download | plugin-447787839e492410611ebe16d01fd5e1ae52e045.tar.gz plugin-447787839e492410611ebe16d01fd5e1ae52e045.tar.bz2 plugin-447787839e492410611ebe16d01fd5e1ae52e045.tar.xz plugin-447787839e492410611ebe16d01fd5e1ae52e045.zip |
Fix different warnings.
Diffstat (limited to 'src/echar/char.c')
-rw-r--r-- | src/echar/char.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/echar/char.c b/src/echar/char.c index 205f703..6f2c92f 100644 --- a/src/echar/char.c +++ b/src/echar/char.c @@ -103,12 +103,14 @@ void echar_parse_char_create_new_char(int *fdPtr, struct char_session_data* sd) static int tmpVersion = 0; -void echar_parse_char_connect_pre(int *fdPtr, struct char_session_data *sd, uint32 *ipl) +void echar_parse_char_connect_pre(int *fdPtr, + struct char_session_data *sd __attribute__ ((unused)), + uint32 *ipl __attribute__ ((unused))) { tmpVersion = RFIFOW(*fdPtr, 14); } -void echar_parse_char_connect_post(int *fdPtr, struct char_session_data *sd, uint32 *ipl) +void echar_parse_char_connect_post(int *fdPtr, struct char_session_data *sd, uint32 *ipl __attribute__ ((unused))) { sd = (struct char_session_data*)sockt->session[*fdPtr]->session_data; if (sd) |