diff --git a/src/plugins/analyzerbase/analyzermanager.cpp b/src/plugins/analyzerbase/analyzermanager.cpp index c2747407af4..b11b17c3edd 100644 --- a/src/plugins/analyzerbase/analyzermanager.cpp +++ b/src/plugins/analyzerbase/analyzermanager.cpp @@ -525,10 +525,12 @@ void AnalyzerManagerPrivate::startLocalTool(IAnalyzerTool *tool) switch (toolMode) { case IAnalyzerTool::DebugMode: toolModeString = tr("Debug"); + break; case IAnalyzerTool::ReleaseMode: toolModeString = tr("Release"); - case IAnalyzerTool::AnyMode: break; + default: + QTC_CHECK(false); } const QString title = tr("Run %1 in %2 Mode?").arg(toolName).arg(currentMode); const QString message = tr("
You are trying "