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/playerinfo.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'src/playerinfo.h') diff --git a/src/playerinfo.h b/src/playerinfo.h index ebfdba4c6..fcae0bd87 100644 --- a/src/playerinfo.h +++ b/src/playerinfo.h @@ -103,7 +103,7 @@ namespace PlayerInfo /** * Returns the value of the given attribute. */ - int getAttribute(const Attribute id); + int getAttribute(const Attribute id) A_WARN_UNUSED; /** * Changes the value of the given attribute. @@ -116,7 +116,7 @@ namespace PlayerInfo /** * Returns the base value of the given stat. */ - int getStatBase(const Attribute id); + int getStatBase(const Attribute id) A_WARN_UNUSED; /** * Changes the base value of the given stat. @@ -127,7 +127,7 @@ namespace PlayerInfo /** * Returns the modifier for the given stat. */ - int getStatMod(const Attribute id); + int getStatMod(const Attribute id) A_WARN_UNUSED; /** * Changes the modifier for the given stat. @@ -139,7 +139,7 @@ namespace PlayerInfo * Returns the current effective value of the given stat. Effective is base * + mod */ - int getStatEffective(const Attribute id); + int getStatEffective(const Attribute id) A_WARN_UNUSED; /** * Changes the level of the given stat. @@ -149,7 +149,7 @@ namespace PlayerInfo /** * Returns the experience of the given stat. */ - std::pair getStatExperience(const Attribute id); + std::pair getStatExperience(const Attribute id) A_WARN_UNUSED; /** * Changes the experience of the given stat. @@ -162,7 +162,7 @@ namespace PlayerInfo /** * Returns the player's inventory. */ - Inventory *getInventory(); + Inventory *getInventory() A_WARN_UNUSED; /** * Clears the player's inventory and equipment. @@ -178,12 +178,12 @@ namespace PlayerInfo /** * Returns the player's equipment. */ - Equipment *getEquipment(); + Equipment *getEquipment() A_WARN_UNUSED; /** * Returns the player's equipment at the given slot. */ - Item *getEquipment(const unsigned int slot); + Item *getEquipment(const unsigned int slot) A_WARN_UNUSED; // --- Specials --------------------------------------------------------------- -- cgit v1.2.3-70-g09d2