summaryrefslogtreecommitdiff
path: root/src/channel.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/channel.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/channel.h')
-rw-r--r--src/channel.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/channel.h b/src/channel.h
index 7dae64722..97011f154 100644
--- a/src/channel.h
+++ b/src/channel.h
@@ -53,19 +53,19 @@ class Channel final
/**
* Get the id associated witht his channel.
*/
- int getId() const
+ int getId() const A_WARN_UNUSED
{ return mId; }
/**
* Get this channel's name.
*/
- const std::string &getName() const
+ const std::string &getName() const A_WARN_UNUSED
{ return mName; }
/**
* Get the announcement message for this channel.
*/
- const std::string &getAnnouncement() const
+ const std::string &getAnnouncement() const A_WARN_UNUSED
{ return mAnnouncement; }
/**
@@ -80,7 +80,7 @@ class Channel final
void setAnnouncement(const std::string &channelAnnouncement)
{ mAnnouncement = channelAnnouncement; }
- const ChannelTab *getTab() const
+ const ChannelTab *getTab() const A_WARN_UNUSED
{ return mTab; }
protected: