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/emap/craftconf.c | |
parent | d37fe74804b94065259703509b4b3dc3f53c30a5 (diff) | |
download | evol-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/emap/craftconf.c')
-rw-r--r-- | src/emap/craftconf.c | 6 |
1 files changed, 4 insertions, 2 deletions
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; |