From 6b1684d33dec02eb6308bb3d8d3707f4d5252ba5 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 30 Oct 2012 01:19:46 +0300 Subject: Add unused warnings to some files. --- src/spellshortcut.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/spellshortcut.h') 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; } /** -- cgit v1.2.3-60-g2f50