summaryrefslogtreecommitdiff
path: root/src/guildmanager.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/guildmanager.h
parent2a70a50c785ce639b76141a3a6887836d22fe12c (diff)
downloadManaVerse-6b1684d33dec02eb6308bb3d8d3707f4d5252ba5.tar.gz
ManaVerse-6b1684d33dec02eb6308bb3d8d3707f4d5252ba5.tar.bz2
ManaVerse-6b1684d33dec02eb6308bb3d8d3707f4d5252ba5.tar.xz
ManaVerse-6b1684d33dec02eb6308bb3d8d3707f4d5252ba5.zip
Add unused warnings to some files.
Diffstat (limited to 'src/guildmanager.h')
-rw-r--r--src/guildmanager.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/guildmanager.h b/src/guildmanager.h
index b8504313a..d4dcb0d59 100644
--- a/src/guildmanager.h
+++ b/src/guildmanager.h
@@ -53,7 +53,7 @@ class GuildManager final
void updateList();
- static bool getEnableGuildBot()
+ static bool getEnableGuildBot() A_WARN_UNUSED
{ return mEnableGuildBot; }
void kick(std::string msg) const;
@@ -66,7 +66,7 @@ class GuildManager final
void createTab(Guild *const guild);
- Guild *createGuild() const;
+ Guild *createGuild() const A_WARN_UNUSED;
void clear() const;
@@ -76,7 +76,7 @@ class GuildManager final
bool afterRemove();
- bool havePower() const
+ bool havePower() const A_WARN_UNUSED
{ return mHavePower; }
private: