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/spellmanager.h | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'src/spellmanager.h') diff --git a/src/spellmanager.h b/src/spellmanager.h index d232c4408..e3c580913 100644 --- a/src/spellmanager.h +++ b/src/spellmanager.h @@ -42,15 +42,15 @@ class SpellManager final ~SpellManager(); - TextCommand *getSpell(const int spellId); + TextCommand *getSpell(const int spellId) A_WARN_UNUSED; - TextCommand* getSpellByItem(const int itemId); + TextCommand* getSpellByItem(const int itemId) A_WARN_UNUSED; bool addSpell(TextCommand *const spell); - TextCommand *createNewSpell() const; + TextCommand *createNewSpell() const A_WARN_UNUSED; - std::vector getAll() const; + std::vector getAll() const A_WARN_UNUSED; void useItem(const int itemId); @@ -60,7 +60,7 @@ class SpellManager final void save(); - std::string autoComplete(std::string partName); + std::string autoComplete(std::string partName) A_WARN_UNUSED; private: void fillSpells(); @@ -71,7 +71,8 @@ class SpellManager final void invokeSpell(const TextCommand *const spell) const; std::string parseCommand(std::string command, - const Being *const target) const; + const Being *const target) + const A_WARN_UNUSED; std::map mSpells; std::vector mSpellsVector; -- cgit v1.2.3-60-g2f50