summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-10-18 12:24:28 +0300
committerAndrei Karas <akaras@inbox.ru>2013-10-19 15:12:20 +0300
commit5d89861c7e83bb9232e11565159b1917052f1467 (patch)
treefee861e6eec140c7c6580af7f8ead76cbaf067ce /src
parent6438e784344924eb9ace561ec7fcc2b723dcb0dd (diff)
downloadmv-5d89861c7e83bb9232e11565159b1917052f1467.tar.gz
mv-5d89861c7e83bb9232e11565159b1917052f1467.tar.bz2
mv-5d89861c7e83bb9232e11565159b1917052f1467.tar.xz
mv-5d89861c7e83bb9232e11565159b1917052f1467.zip
remove unused variable from equipmentwindow.
Diffstat (limited to 'src')
-rw-r--r--src/gui/windows/equipmentwindow.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gui/windows/equipmentwindow.cpp b/src/gui/windows/equipmentwindow.cpp
index 43391e611..9b4082f7f 100644
--- a/src/gui/windows/equipmentwindow.cpp
+++ b/src/gui/windows/equipmentwindow.cpp
@@ -387,10 +387,9 @@ void EquipmentWindow::mouseReleased(gcn::MouseEvent &mouseEvent)
{
const int x = mouseEvent.getX();
const int y = mouseEvent.getY();
- int i = 0;
for (std::vector<EquipmentBox*>::const_iterator
it = mBoxes.begin(), it_end = mBoxes.end();
- it != it_end; ++ it, ++ i)
+ it != it_end; ++ it)
{
const EquipmentBox *const box = *it;
if (!box)