diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-10-30 01:19:46 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-10-30 13:11:34 +0300 |
commit | 6b1684d33dec02eb6308bb3d8d3707f4d5252ba5 (patch) | |
tree | 4a0a5fd220828b92ef96446fe38dbe67ff446c6c /src/emoteshortcut.h | |
parent | 2a70a50c785ce639b76141a3a6887836d22fe12c (diff) | |
download | mv-6b1684d33dec02eb6308bb3d8d3707f4d5252ba5.tar.gz mv-6b1684d33dec02eb6308bb3d8d3707f4d5252ba5.tar.bz2 mv-6b1684d33dec02eb6308bb3d8d3707f4d5252ba5.tar.xz mv-6b1684d33dec02eb6308bb3d8d3707f4d5252ba5.zip |
Add unused warnings to some files.
Diffstat (limited to 'src/emoteshortcut.h')
-rw-r--r-- | src/emoteshortcut.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/emoteshortcut.h b/src/emoteshortcut.h index a90e1f723..fe3d77e12 100644 --- a/src/emoteshortcut.h +++ b/src/emoteshortcut.h @@ -54,19 +54,19 @@ class EmoteShortcut final * * @param index Index of the shortcut Emote. */ - unsigned char getEmote(const int index) const + unsigned char getEmote(const int index) const A_WARN_UNUSED { return mEmotes[index]; } /** * Returns the amount of shortcut Emotes. */ - unsigned int getEmoteCount() const + unsigned int getEmoteCount() const A_WARN_UNUSED { return SHORTCUT_EMOTES; } /** * Returns the emote ID that is currently selected. */ - unsigned char getEmoteSelected() const + unsigned char getEmoteSelected() const A_WARN_UNUSED { return mEmoteSelected; } /** @@ -97,7 +97,7 @@ class EmoteShortcut final /** * A flag to check if the Emote is selected. */ - bool isEmoteSelected() const + bool isEmoteSelected() const A_WARN_UNUSED { return mEmoteSelected; } /** |