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/spellshortcut.h | |
parent | 2a70a50c785ce639b76141a3a6887836d22fe12c (diff) | |
download | ManaVerse-6b1684d33dec02eb6308bb3d8d3707f4d5252ba5.tar.gz ManaVerse-6b1684d33dec02eb6308bb3d8d3707f4d5252ba5.tar.bz2 ManaVerse-6b1684d33dec02eb6308bb3d8d3707f4d5252ba5.tar.xz ManaVerse-6b1684d33dec02eb6308bb3d8d3707f4d5252ba5.zip |
Add unused warnings to some files.
Diffstat (limited to 'src/spellshortcut.h')
-rw-r--r-- | src/spellshortcut.h | 6 |
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; } /** |