From 0cff44ef5c1383a638c30cc9f5f8c81b6b4318f9 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 30 Oct 2012 13:05:34 +0300 Subject: Add unused warnings to other files. --- src/gui/widgets/itemcontainer.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/gui/widgets/itemcontainer.h') 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; -- cgit v1.2.3-60-g2f50