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/imagesprite.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/imagesprite.h') diff --git a/src/imagesprite.h b/src/imagesprite.h index 0522533d7..0b6557a7d 100644 --- a/src/imagesprite.h +++ b/src/imagesprite.h @@ -48,26 +48,26 @@ public: bool draw(Graphics* graphics, int posX, int posY) const override; - int getWidth() const override + int getWidth() const override A_WARN_UNUSED { return mImage ? mImage->getWidth() : 0; } - int getHeight() const override + int getHeight() const override A_WARN_UNUSED { return mImage ? mImage->getHeight() : 0; } - const Image* getImage() const + const Image* getImage() const A_WARN_UNUSED { return mImage; } virtual bool setSpriteDirection(const SpriteDirection direction A_UNUSED) override { return false; } - int getNumberOfLayers() const + int getNumberOfLayers() const A_WARN_UNUSED { return 1; } - unsigned int getCurrentFrame() const override + unsigned int getCurrentFrame() const override A_WARN_UNUSED { return 0; } - unsigned int getFrameCount() const override + unsigned int getFrameCount() const override A_WARN_UNUSED { return 1; } bool updateNumber(const unsigned num A_UNUSED) override -- cgit v1.2.3-70-g09d2