Debugger: Fix warning about unused variable

Change-Id: Ib26f94d54f7e9570efa69cdfefa4253b640bc664
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
Nikolai Kosjar
2020-05-14 07:59:36 +02:00
parent 2fb43e6e04
commit cdc97f523e

View File

@@ -694,10 +694,10 @@ void DebuggerRunTool::start()
if (m_runParameters.startMode == StartInternal) {
QStringList unhandledIds;
for (const GlobalBreakpoint &bp : BreakpointManager::globalBreakpoints()) {
// for (const GlobalBreakpoint &bp : BreakpointManager::globalBreakpoints()) {
// if (bp->isEnabled() && !m_engine->acceptsBreakpoint(bp))
// unhandledIds.append(bp.id().toString());
}
// }
if (!unhandledIds.isEmpty()) {
QString warningMessage =
DebuggerPlugin::tr("Some breakpoints cannot be handled by the debugger "