summaryrefslogtreecommitdiff
path: root/src/emoteshortcut.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/emoteshortcut.h')
-rw-r--r--src/emoteshortcut.h8
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; }
/**