summaryrefslogtreecommitdiff
path: root/src/emap/mob.c
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/emap/mob.c
parentd37fe74804b94065259703509b4b3dc3f53c30a5 (diff)
downloadplugin-447787839e492410611ebe16d01fd5e1ae52e045.tar.gz
plugin-447787839e492410611ebe16d01fd5e1ae52e045.tar.bz2
plugin-447787839e492410611ebe16d01fd5e1ae52e045.tar.xz
plugin-447787839e492410611ebe16d01fd5e1ae52e045.zip
Fix different warnings.
Diffstat (limited to 'src/emap/mob.c')
-rw-r--r--src/emap/mob.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/emap/mob.c b/src/emap/mob.c
index f64c789..a5700cc 100644
--- a/src/emap/mob.c
+++ b/src/emap/mob.c
@@ -57,8 +57,8 @@ int emob_deleteslave_sub(struct block_list *bl, va_list ap)
void emob_read_db_additional_fields(struct mob_db *entry,
struct config_setting_t *it,
- int *nPtr,
- const char *source)
+ int *nPtr __attribute__ ((unused)),
+ const char *source __attribute__ ((unused)))
{
int i32 = 0;
@@ -74,7 +74,7 @@ void emob_read_db_additional_fields(struct mob_db *entry,
}
int emob_read_db_mode_sub_post(int retVal,
- struct mob_db *entry,
+ struct mob_db *entry __attribute__ ((unused)),
struct config_setting_t *t)
{
struct config_setting_t *t2;