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/equipment.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/equipment.h')
-rw-r--r-- | src/equipment.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/equipment.h b/src/equipment.h index d0aa8a785..c814e802f 100644 --- a/src/equipment.h +++ b/src/equipment.h @@ -67,7 +67,7 @@ class Equipment class Backend { public: - virtual Item *getEquipment(int index) const = 0; + virtual Item *getEquipment(int index) const A_WARN_UNUSED = 0; virtual void clear() = 0; @@ -78,7 +78,7 @@ class Equipment /** * Get equipment at the given slot. */ - Item *getEquipment(const int index) const + Item *getEquipment(const int index) const A_WARN_UNUSED { return mBackend ? mBackend->getEquipment(index) : nullptr; } /** @@ -95,7 +95,7 @@ class Equipment void setBackend(Backend *const backend) { mBackend = backend; } - const Backend *getBackend() const + const Backend *getBackend() const A_WARN_UNUSED { return mBackend; } private: |