forked from qt-creator/qt-creator
Fix gcc warning.
Change-Id: I17560ff68542e99f882b2c0c315ea85b4729f19a Reviewed-on: http://codereview.qt.nokia.com/758 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: hjk <qthjk@ovi.com>
This commit is contained in:
@@ -1082,7 +1082,7 @@ BreakpointModelId BreakHandler::at(int n) const
|
||||
{
|
||||
if (n < 0 || n >= m_storage.size())
|
||||
return BreakpointModelId();
|
||||
ConstIterator it = m_storage.constBegin(), et = m_storage.constEnd();
|
||||
ConstIterator it = m_storage.constBegin();
|
||||
for ( ; --n >= 0; ++it)
|
||||
;
|
||||
return it.key();
|
||||
|
||||
Reference in New Issue
Block a user