summaryrefslogtreecommitdiff
path: root/src/gui/inventorywindow.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-10-30 01:19:46 +0300
committerAndrei Karas <akaras@inbox.ru>2012-10-30 13:11:34 +0300
commit6b1684d33dec02eb6308bb3d8d3707f4d5252ba5 (patch)
tree4a0a5fd220828b92ef96446fe38dbe67ff446c6c /src/gui/inventorywindow.h
parent2a70a50c785ce639b76141a3a6887836d22fe12c (diff)
downloadplus-6b1684d33dec02eb6308bb3d8d3707f4d5252ba5.tar.gz
plus-6b1684d33dec02eb6308bb3d8d3707f4d5252ba5.tar.bz2
plus-6b1684d33dec02eb6308bb3d8d3707f4d5252ba5.tar.xz
plus-6b1684d33dec02eb6308bb3d8d3707f4d5252ba5.zip
Add unused warnings to some files.
Diffstat (limited to 'src/gui/inventorywindow.h')
-rw-r--r--src/gui/inventorywindow.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gui/inventorywindow.h b/src/gui/inventorywindow.h
index 2340e60ed..426a4f6ee 100644
--- a/src/gui/inventorywindow.h
+++ b/src/gui/inventorywindow.h
@@ -79,7 +79,7 @@ class InventoryWindow final : public Window,
/**
* Returns the selected item.
*/
- Item* getSelectedItem() const;
+ Item* getSelectedItem() const A_WARN_UNUSED;
/**
* Unselect item
@@ -124,13 +124,13 @@ class InventoryWindow final : public Window,
void slotsChanged(Inventory *const inventory);
- bool isMainInventory() const
+ bool isMainInventory() const A_WARN_UNUSED
{ return mInventory->isMainInventory(); }
/**
* Returns true if any instances exist.
*/
- static bool isStorageActive()
+ static bool isStorageActive() A_WARN_UNUSED
{ return instances.size() > 1; }
void updateDropButton();
@@ -140,7 +140,7 @@ class InventoryWindow final : public Window,
void updateButtons(const Item *item = nullptr);
- bool isInputFocused() const;
+ bool isInputFocused() const A_WARN_UNUSED;
void widgetResized(const gcn::Event &event) override;