summaryrefslogtreecommitdiff
path: root/src/gui/buydialog.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/buydialog.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/buydialog.h')
-rw-r--r--src/gui/buydialog.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/buydialog.h b/src/gui/buydialog.h
index c3f061af4..3b1b05d4d 100644
--- a/src/gui/buydialog.h
+++ b/src/gui/buydialog.h
@@ -92,7 +92,7 @@ class BuyDialog final : public Window,
/**
* Returns the number of items in the shop inventory.
*/
- int getNumberOfElements();
+ int getNumberOfElements() A_WARN_UNUSED;
/**
* Updates the labels according to the selected item.
@@ -112,7 +112,7 @@ class BuyDialog final : public Window,
/**
* Returns true if any instances exist.
*/
- static bool isActive()
+ static bool isActive() A_WARN_UNUSED
{ return !instances.empty(); }
/**