summaryrefslogtreecommitdiff
path: root/src/gui/widgets/itemcontainer.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets/itemcontainer.h')
-rw-r--r--src/gui/widgets/itemcontainer.h5
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;