summaryrefslogtreecommitdiff
path: root/src/gui/ministatuswindow.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/gui/ministatuswindow.h
parent2a70a50c785ce639b76141a3a6887836d22fe12c (diff)
downloadmanaplus-6b1684d33dec02eb6308bb3d8d3707f4d5252ba5.tar.gz
manaplus-6b1684d33dec02eb6308bb3d8d3707f4d5252ba5.tar.bz2
manaplus-6b1684d33dec02eb6308bb3d8d3707f4d5252ba5.tar.xz
manaplus-6b1684d33dec02eb6308bb3d8d3707f4d5252ba5.zip
Add unused warnings to some files.
Diffstat (limited to 'src/gui/ministatuswindow.h')
-rw-r--r--src/gui/ministatuswindow.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/gui/ministatuswindow.h b/src/gui/ministatuswindow.h
index 36acb7fb9..16d010669 100644
--- a/src/gui/ministatuswindow.h
+++ b/src/gui/ministatuswindow.h
@@ -84,17 +84,18 @@ class MiniStatusWindow final : public Popup,
void slotsChanged(Inventory *const inventory);
- std::vector <ProgressBar*> &getBars()
+ std::vector <ProgressBar*> &getBars() A_WARN_UNUSED
{ return mBars; }
- gcn::Rectangle getChildrenArea();
+ gcn::Rectangle getChildrenArea() A_WARN_UNUSED;
private:
bool isInBar(ProgressBar *bar, int x, int y) const;
ProgressBar *createBar(const float progress, const int width,
const int height, const int color,
- std::string name, std::string description);
+ const std::string &name,
+ const std::string &description) A_WARN_UNUSED;
void loadBars();