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/simpleanimation.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/simpleanimation.h') diff --git a/src/simpleanimation.h b/src/simpleanimation.h index 8a68f478f..4d10f3fee 100644 --- a/src/simpleanimation.h +++ b/src/simpleanimation.h @@ -58,7 +58,7 @@ class SimpleAnimation final void setFrame(int frame); - int getLength() const; + int getLength() const A_WARN_UNUSED; bool update(const int timePassed); @@ -70,7 +70,7 @@ class SimpleAnimation final */ void reset(); - Image *getCurrentImage() const; + Image *getCurrentImage() const A_WARN_UNUSED; private: void initializeAnimation(const XmlNodePtr animationNode, -- cgit v1.2.3-60-g2f50