From a2bfd50be766b3303f3e8dead3b42d16c60f6081 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 4 Jul 2011 17:49:59 +0300 Subject: Fix code style and compilation warnings. --- src/gui/setupitem.cpp | 4 ++-- src/gui/widgets/vertcontainer.cpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src/gui') 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::iterator it = mResizableWidgets.begin(); - it != mResizableWidgets.end(); it++) + it != mResizableWidgets.end(); ++ it) { (*it)->setWidth(getWidth()); } -- cgit v1.2.3-60-g2f50