diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-07-04 17:49:59 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-07-04 17:49:59 +0300 |
commit | a2bfd50be766b3303f3e8dead3b42d16c60f6081 (patch) | |
tree | 9b1e8ab888c2c45350369c132df180a1fb63c975 /src/gui | |
parent | 4b2cb3433c82ba4ba28be8de82e0a49df7f3e388 (diff) | |
download | manaverse-a2bfd50be766b3303f3e8dead3b42d16c60f6081.tar.gz manaverse-a2bfd50be766b3303f3e8dead3b42d16c60f6081.tar.bz2 manaverse-a2bfd50be766b3303f3e8dead3b42d16c60f6081.tar.xz manaverse-a2bfd50be766b3303f3e8dead3b42d16c60f6081.zip |
Fix code style and compilation warnings.
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/setupitem.cpp | 4 | ||||
-rw-r--r-- | src/gui/widgets/vertcontainer.cpp | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/setupitem.cpp b/src/gui/setupitem.cpp index e41e9357d..e4f112068 100644 --- a/src/gui/setupitem.cpp +++ b/src/gui/setupitem.cpp @@ -498,10 +498,10 @@ void SetupItemLabel::toWidget() { } -void SetupItemLabel::action(const gcn::ActionEvent &event) +void SetupItemLabel::action(const gcn::ActionEvent &event _UNUSED_) { } -void SetupItemLabel::apply(std::string eventName) +void SetupItemLabel::apply(std::string eventName _UNUSED_) { } diff --git a/src/gui/widgets/vertcontainer.cpp b/src/gui/widgets/vertcontainer.cpp index 9920c7210..3dd258ad3 100644 --- a/src/gui/widgets/vertcontainer.cpp +++ b/src/gui/widgets/vertcontainer.cpp @@ -74,7 +74,7 @@ void VertContainer::clear() void VertContainer::widgetResized(const gcn::Event &event _UNUSED_) { for (std::vector<gcn::Widget*>::iterator it = mResizableWidgets.begin(); - it != mResizableWidgets.end(); it++) + it != mResizableWidgets.end(); ++ it) { (*it)->setWidth(getWidth()); } |