From 447787839e492410611ebe16d01fd5e1ae52e045 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 28 Apr 2016 03:56:12 +0300 Subject: Fix different warnings. --- src/emap/craftconf.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/emap/craftconf.c') diff --git a/src/emap/craftconf.c b/src/emap/craftconf.c index 89b31ea..0c9d329 100644 --- a/src/emap/craftconf.c +++ b/src/emap/craftconf.c @@ -27,7 +27,7 @@ struct DBMap *craftconf_db = NULL; -struct craft_db_entry *craft_create_db_entry(const int id) +struct craft_db_entry *craft_create_db_entry(const int id __attribute__ ((unused))) { struct craft_db_entry *entry = aCalloc(sizeof(struct craft_db_entry), 1); if (!entry) @@ -304,7 +304,9 @@ static void craft_read_items_collection(struct craft_db_entry *entry, entry->var = def; \ } -static bool craft_read_db_sub(struct config_setting_t *craftt, int id, const char *source) +static bool craft_read_db_sub(struct config_setting_t *craftt, + int id __attribute__ ((unused)), + const char *source) { int class_; int i32; -- cgit v1.2.3-60-g2f50