diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-10-30 13:05:34 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-10-30 13:11:34 +0300 |
commit | 0cff44ef5c1383a638c30cc9f5f8c81b6b4318f9 (patch) | |
tree | 077c2ff59d6656096aa0acaaf4dd6bf4fb7867f7 /src/net/ea/inventoryhandler.h | |
parent | 6b1684d33dec02eb6308bb3d8d3707f4d5252ba5 (diff) | |
download | mv-0cff44ef5c1383a638c30cc9f5f8c81b6b4318f9.tar.gz mv-0cff44ef5c1383a638c30cc9f5f8c81b6b4318f9.tar.bz2 mv-0cff44ef5c1383a638c30cc9f5f8c81b6b4318f9.tar.xz mv-0cff44ef5c1383a638c30cc9f5f8c81b6b4318f9.zip |
Add unused warnings to other files.
Diffstat (limited to 'src/net/ea/inventoryhandler.h')
-rw-r--r-- | src/net/ea/inventoryhandler.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/net/ea/inventoryhandler.h b/src/net/ea/inventoryhandler.h index 80ddcc25f..694940a12 100644 --- a/src/net/ea/inventoryhandler.h +++ b/src/net/ea/inventoryhandler.h @@ -48,7 +48,7 @@ class EquipBackend : public Equipment::Backend A_DELETE_COPY(EquipBackend) - Item *getEquipment(int index) const + Item *getEquipment(int index) const A_WARN_UNUSED { int invyIndex = mEquipment[index]; if (invyIndex == -1) @@ -146,7 +146,7 @@ class InventoryHandler : public Net::InventoryHandler ~InventoryHandler(); - bool canSplit(const Item *item) const; + bool canSplit(const Item *item) const A_WARN_UNUSED; void splitItem(const Item *item, int amount); @@ -154,14 +154,14 @@ class InventoryHandler : public Net::InventoryHandler void openStorage(int type); - size_t getSize(int type) const; + size_t getSize(int type) const A_WARN_UNUSED; - int convertFromServerSlot(int serverSlot) const; + int convertFromServerSlot(int serverSlot) const A_WARN_UNUSED; void pushPickup(int floorId) { mSentPickups.push(floorId); } - int getSlot(int eAthenaSlot); + int getSlot(int eAthenaSlot) A_WARN_UNUSED; void processPlayerInventory(Net::MessageIn &msg, bool playerInvintory); |