summaryrefslogtreecommitdiff
path: root/src/gui/widgets/button.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-10-30 13:05:34 +0300
committerAndrei Karas <akaras@inbox.ru>2012-10-30 13:11:34 +0300
commit0cff44ef5c1383a638c30cc9f5f8c81b6b4318f9 (patch)
tree077c2ff59d6656096aa0acaaf4dd6bf4fb7867f7 /src/gui/widgets/button.h
parent6b1684d33dec02eb6308bb3d8d3707f4d5252ba5 (diff)
downloadplus-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/button.h')
-rw-r--r--src/gui/widgets/button.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gui/widgets/button.h b/src/gui/widgets/button.h
index 59fda30e6..25fa0da02 100644
--- a/src/gui/widgets/button.h
+++ b/src/gui/widgets/button.h
@@ -103,16 +103,16 @@ class Button final : public gcn::Button,
void setDescription(std::string text)
{ mDescription = text; }
- std::string getDescription() const
+ std::string getDescription() const A_WARN_UNUSED
{ return mDescription; }
- unsigned getClickCount() const
+ unsigned getClickCount() const A_WARN_UNUSED
{ return mClickCount; }
void setTag(int tag)
{ mTag = tag; }
- int getTag() const
+ int getTag() const A_WARN_UNUSED
{ return mTag; }
void setStick(bool b)
@@ -135,7 +135,7 @@ class Button final : public gcn::Button,
void keyReleased(gcn::KeyEvent &keyEvent) override;
- bool isPressed2() const;
+ bool isPressed2() const A_WARN_UNUSED;
private:
void init();