summaryrefslogtreecommitdiff
path: root/src/spellshortcut.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/spellshortcut.h')
-rw-r--r--src/spellshortcut.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/spellshortcut.h b/src/spellshortcut.h
index d4c77023b..5c86e6b96 100644
--- a/src/spellshortcut.h
+++ b/src/spellshortcut.h
@@ -50,7 +50,7 @@ class SpellShortcut final
*/
void load();
- unsigned int getSpellsCount() const;
+ unsigned int getSpellsCount() const A_WARN_UNUSED;
/**
* Set the item that is selected.
@@ -63,13 +63,13 @@ class SpellShortcut final
/**
* A flag to check if the item is selected.
*/
- bool isItemSelected() const
+ bool isItemSelected() const A_WARN_UNUSED
{ return mItemSelected > -1; }
/**
* Returns selected shortcut item ID.
*/
- int getSelectedItem() const
+ int getSelectedItem() const A_WARN_UNUSED
{ return mItemSelected; }
/**