summaryrefslogtreecommitdiff
path: root/src/gui/whoisonline.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/whoisonline.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/whoisonline.h')
-rw-r--r--src/gui/whoisonline.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/gui/whoisonline.h b/src/gui/whoisonline.h
index 2b26ad393..fa2955e40 100644
--- a/src/gui/whoisonline.h
+++ b/src/gui/whoisonline.h
@@ -58,22 +58,22 @@ class OnlinePlayer final
A_DELETE_COPY(OnlinePlayer)
- const std::string getNick() const
+ const std::string getNick() const A_WARN_UNUSED
{ return mNick; }
- unsigned char getStaus() const
+ unsigned char getStaus() const A_WARN_UNUSED
{ return mStatus; }
void setIsGM(const bool b)
{ mIsGM = b; }
- char getVersion() const
+ char getVersion() const A_WARN_UNUSED
{ return mVersion; }
- char getLevel() const
+ char getLevel() const A_WARN_UNUSED
{ return mLevel; }
- const std::string getText() const
+ const std::string getText() const A_WARN_UNUSED
{ return mText; }
void setText(std::string str);
@@ -137,10 +137,10 @@ public:
void widgetResized(const gcn::Event &event) override;
- const std::set<OnlinePlayer*> &getOnlinePlayers() const
+ const std::set<OnlinePlayer*> &getOnlinePlayers() const A_WARN_UNUSED
{ return mOnlinePlayers; }
- const std::set<std::string> &getOnlineNicks() const
+ const std::set<std::string> &getOnlineNicks() const A_WARN_UNUSED
{ return mOnlineNicks; }
void setAllowUpdate(const bool n)
@@ -169,7 +169,7 @@ private:
FILE *stream);
const std::string prepareNick(std::string nick, int level,
- std::string color) const;
+ std::string color) const A_WARN_UNUSED;
void updateWindow(std::vector<OnlinePlayer*> &friends,
std::vector<OnlinePlayer*> &neutral,