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/gui/widgets/progressbar.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/gui/widgets/progressbar.h') diff --git a/src/gui/widgets/progressbar.h b/src/gui/widgets/progressbar.h index c754bcb6b..599292da5 100644 --- a/src/gui/widgets/progressbar.h +++ b/src/gui/widgets/progressbar.h @@ -81,7 +81,7 @@ class ProgressBar final : public gcn::Widget, /** * Returns the current progress. */ - float getProgress() const + float getProgress() const A_WARN_UNUSED { return mProgress; } /** @@ -98,7 +98,7 @@ class ProgressBar final : public gcn::Widget, /** * Returns the color of the progress bar. */ - const gcn::Color &getColor() const + const gcn::Color &getColor() const A_WARN_UNUSED { return mColor; } /** @@ -110,7 +110,7 @@ class ProgressBar final : public gcn::Widget, /** * Returns the text shown on the progress bar. */ - const std::string &text() const + const std::string &text() const A_WARN_UNUSED { return mText; } /** -- cgit v1.2.3-60-g2f50