summaryrefslogtreecommitdiff
path: root/src/plugins/debugger/breakhandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/debugger/breakhandler.cpp')
-rw-r--r--src/plugins/debugger/breakhandler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/debugger/breakhandler.cpp b/src/plugins/debugger/breakhandler.cpp
index d36afb7b74..04357620ef 100644
--- a/src/plugins/debugger/breakhandler.cpp
+++ b/src/plugins/debugger/breakhandler.cpp
@@ -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();