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/widget2.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/gui/widgets/widget2.h') diff --git a/src/gui/widgets/widget2.h b/src/gui/widgets/widget2.h index ed2533287..3b4060899 100644 --- a/src/gui/widgets/widget2.h +++ b/src/gui/widgets/widget2.h @@ -42,13 +42,15 @@ class Widget2 } inline const gcn::Color &getThemeColor(const int type, - const int alpha = 255) const + const int alpha = 255) + const A_WARN_UNUSED { return Theme::getThemeColor(mPaletteOffset + type, alpha); } inline const gcn::Color &getThemeCharColor(const signed char c, - bool &valid) const + bool &valid) + const A_WARN_UNUSED { const int colorId = Theme::getThemeIdByChar(c, valid); if (valid) -- cgit v1.2.3-70-g09d2