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/craft.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/emap/craft.c') diff --git a/src/emap/craft.c b/src/emap/craft.c index 0e2001f..c33ec64 100644 --- a/src/emap/craft.c +++ b/src/emap/craft.c @@ -522,7 +522,7 @@ static bool check_quests(TBL_PC *sd, return true; } -static bool check_inventories(TBL_PC *sd, +static bool check_inventories(TBL_PC *sd __attribute__ ((unused)), struct craft_db_entry *entry, struct item_pair *craft_inventory) { @@ -871,7 +871,7 @@ bool craft_use(TBL_PC *sd, return true; } -int craft_get_entry_code(TBL_PC *sd, +int craft_get_entry_code(TBL_PC *sd __attribute__ ((unused)), const int id) { struct craft_db_entry *entry = idb_get(craftconf_db, id); -- cgit v1.2.3-70-g09d2