summaryrefslogtreecommitdiff
path: root/src/emap/craft.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/craft.c
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/emap/craft.c')
-rw-r--r--src/emap/craft.c4
1 files changed, 2 insertions, 2 deletions
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);