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/gui/widgets/itemcontainer.h | |
parent | 6b1684d33dec02eb6308bb3d8d3707f4d5252ba5 (diff) | |
download | plus-0cff44ef5c1383a638c30cc9f5f8c81b6b4318f9.tar.gz plus-0cff44ef5c1383a638c30cc9f5f8c81b6b4318f9.tar.bz2 plus-0cff44ef5c1383a638c30cc9f5f8c81b6b4318f9.tar.xz plus-0cff44ef5c1383a638c30cc9f5f8c81b6b4318f9.zip |
Add unused warnings to other files.
Diffstat (limited to 'src/gui/widgets/itemcontainer.h')
-rw-r--r-- | src/gui/widgets/itemcontainer.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/gui/widgets/itemcontainer.h b/src/gui/widgets/itemcontainer.h index fed91e5ca..a8dbf3215 100644 --- a/src/gui/widgets/itemcontainer.h +++ b/src/gui/widgets/itemcontainer.h @@ -105,7 +105,7 @@ class ItemContainer final : public gcn::Widget, /** * Returns the selected item. */ - Item *getSelectedItem() const; + Item *getSelectedItem() const A_WARN_UNUSED; /** * Sets selected item to NULL. @@ -135,7 +135,7 @@ class ItemContainer final : public gcn::Widget, void updateMatrix(); - bool getClickCount() + bool getClickCount() A_WARN_UNUSED { return mClicks; } private: @@ -192,7 +192,6 @@ class ItemContainer final : public gcn::Widget, */ int getSlotIndex(const int x, const int y) const; - Inventory *mInventory; int mGridColumns, mGridRows; Image *mSelImg; |