summaryrefslogtreecommitdiff
path: root/src/resources/animation.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-10-30 13:05:34 +0300
committerAndrei Karas <akaras@inbox.ru>2012-10-30 13:11:34 +0300
commit0cff44ef5c1383a638c30cc9f5f8c81b6b4318f9 (patch)
tree077c2ff59d6656096aa0acaaf4dd6bf4fb7867f7 /src/resources/animation.h
parent6b1684d33dec02eb6308bb3d8d3707f4d5252ba5 (diff)
downloadmv-0cff44ef5c1383a638c30cc9f5f8c81b6b4318f9.tar.gz
mv-0cff44ef5c1383a638c30cc9f5f8c81b6b4318f9.tar.bz2
mv-0cff44ef5c1383a638c30cc9f5f8c81b6b4318f9.tar.xz
mv-0cff44ef5c1383a638c30cc9f5f8c81b6b4318f9.zip
Add unused warnings to other files.
Diffstat (limited to 'src/resources/animation.h')
-rw-r--r--src/resources/animation.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/resources/animation.h b/src/resources/animation.h
index dd5421735..1e9d34a26 100644
--- a/src/resources/animation.h
+++ b/src/resources/animation.h
@@ -82,7 +82,7 @@ class Animation final
/**
* Returns the length of this animation in frames.
*/
- size_t getLength() const
+ size_t getLength() const A_WARN_UNUSED
{ return mFrames.size(); }
void addJump(const std::string &name, const int rand);
@@ -98,7 +98,7 @@ class Animation final
/**
* Determines whether the given animation frame is a terminator.
*/
- static bool isTerminator(const Frame &phase);
+ static bool isTerminator(const Frame &phase) A_WARN_UNUSED;
protected: