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/textcommand.h | |
parent | 2a70a50c785ce639b76141a3a6887836d22fe12c (diff) | |
download | mv-6b1684d33dec02eb6308bb3d8d3707f4d5252ba5.tar.gz mv-6b1684d33dec02eb6308bb3d8d3707f4d5252ba5.tar.bz2 mv-6b1684d33dec02eb6308bb3d8d3707f4d5252ba5.tar.xz mv-6b1684d33dec02eb6308bb3d8d3707f4d5252ba5.zip |
Add unused warnings to some files.
Diffstat (limited to 'src/textcommand.h')
-rw-r--r-- | src/textcommand.h | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/src/textcommand.h b/src/textcommand.h index acf443588..5aa8176ec 100644 --- a/src/textcommand.h +++ b/src/textcommand.h @@ -89,37 +89,37 @@ class TextCommand final */ ~TextCommand(); - std::string getName() const + std::string getName() const A_WARN_UNUSED { return mCommand; } - std::string getCommand() const + std::string getCommand() const A_WARN_UNUSED { return mCommand; } - std::string getComment() const + std::string getComment() const A_WARN_UNUSED { return mComment; } - std::string getSymbol() const + std::string getSymbol() const A_WARN_UNUSED { return mSymbol; } - unsigned int getId() const + unsigned int getId() const A_WARN_UNUSED { return mId; } - SpellTarget getTargetType() const + SpellTarget getTargetType() const A_WARN_UNUSED { return mTargetType; } - std::string getIcon() const + std::string getIcon() const A_WARN_UNUSED { return mIcon; } - int getMana() const + int getMana() const A_WARN_UNUSED { return mMana; } - MagicSchool getSchool() const + MagicSchool getSchool() const A_WARN_UNUSED { return mSchool; } - unsigned getBaseLvl() const + unsigned getBaseLvl() const A_WARN_UNUSED { return mBaseLvl; } - unsigned getSchoolLvl() const + unsigned getSchoolLvl() const A_WARN_UNUSED { return mSchoolLvl; } TextCommandType getCommandType() const @@ -158,10 +158,10 @@ class TextCommand final void setCommandType(const TextCommandType commandType) { mCommandType = commandType; } - bool isEmpty() const + bool isEmpty() const A_WARN_UNUSED { return mCommand == "" && mSymbol == ""; } - Image *getImage() const + Image *getImage() const A_WARN_UNUSED { return mImage; } private: |