summaryrefslogtreecommitdiff
path: root/src/simpleanimation.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-10-30 01:19:46 +0300
committerAndrei Karas <akaras@inbox.ru>2012-10-30 13:11:34 +0300
commit6b1684d33dec02eb6308bb3d8d3707f4d5252ba5 (patch)
tree4a0a5fd220828b92ef96446fe38dbe67ff446c6c /src/simpleanimation.h
parent2a70a50c785ce639b76141a3a6887836d22fe12c (diff)
downloadmv-6b1684d33dec02eb6308bb3d8d3707f4d5252ba5.tar.gz
mv-6b1684d33dec02eb6308bb3d8d3707f4d5252ba5.tar.bz2
mv-6b1684d33dec02eb6308bb3d8d3707f4d5252ba5.tar.xz
mv-6b1684d33dec02eb6308bb3d8d3707f4d5252ba5.zip
Add unused warnings to some files.
Diffstat (limited to 'src/simpleanimation.h')
-rw-r--r--src/simpleanimation.h4
1 files changed, 2 insertions, 2 deletions
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,