summaryrefslogtreecommitdiff
path: root/src/spellshortcut.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/spellshortcut.h
parent2a70a50c785ce639b76141a3a6887836d22fe12c (diff)
downloadmv-6b1684d33dec02eb6308bb3d8d3707f4d5252ba5.tar.gz
mv-6b1684d33dec02eb6308bb3d8d3707f4d5252ba5.tar.bz2
mv-6b1684d33dec02eb6308bb3d8d3707f4d5252ba5.tar.xz
mv-6b1684d33dec02eb6308bb3d8d3707f4d5252ba5.zip
Add unused warnings to some files.
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; }
/**