From 0cff44ef5c1383a638c30cc9f5f8c81b6b4318f9 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 30 Oct 2012 13:05:34 +0300 Subject: Add unused warnings to other files. --- src/resources/animation.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/resources/animation.h') 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: -- cgit v1.2.3-60-g2f50