summaryrefslogtreecommitdiff
path: root/src/echar
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-04-28 03:56:12 +0300
committerAndrei Karas <akaras@inbox.ru>2016-04-28 03:56:12 +0300
commit447787839e492410611ebe16d01fd5e1ae52e045 (patch)
tree0df52644e225f65e2d23f358dc4db5906c1595be /src/echar
parentd37fe74804b94065259703509b4b3dc3f53c30a5 (diff)
downloadevol-hercules-447787839e492410611ebe16d01fd5e1ae52e045.tar.gz
evol-hercules-447787839e492410611ebe16d01fd5e1ae52e045.tar.bz2
evol-hercules-447787839e492410611ebe16d01fd5e1ae52e045.tar.xz
evol-hercules-447787839e492410611ebe16d01fd5e1ae52e045.zip
Fix different warnings.
Diffstat (limited to 'src/echar')
-rw-r--r--src/echar/char.c6
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)