diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-10-18 12:24:28 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-10-19 15:12:20 +0300 |
commit | 5d89861c7e83bb9232e11565159b1917052f1467 (patch) | |
tree | fee861e6eec140c7c6580af7f8ead76cbaf067ce /src/gui | |
parent | 6438e784344924eb9ace561ec7fcc2b723dcb0dd (diff) | |
download | manaverse-5d89861c7e83bb9232e11565159b1917052f1467.tar.gz manaverse-5d89861c7e83bb9232e11565159b1917052f1467.tar.bz2 manaverse-5d89861c7e83bb9232e11565159b1917052f1467.tar.xz manaverse-5d89861c7e83bb9232e11565159b1917052f1467.zip |
remove unused variable from equipmentwindow.
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/windows/equipmentwindow.cpp | 3 |
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) |