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:
Christian Kandeler
2011-06-27 11:29:15 +02:00
committed by hjk
parent 0c0dbcc52c
commit 5846005b62

View File

@@ -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();