AutoTest: Remove unreachable code

Change-Id: I98d3d21fe8239f376e0c2619b10bc5b44267cb0e
Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
Christian Stenger
2020-03-11 08:10:12 +01:00
parent ff8751c576
commit 769bd017b9

View File

@@ -555,12 +555,6 @@ void TestRunner::debugTests()
QString errorMessage;
auto runControl = new RunControl(ProjectExplorer::Constants::DEBUG_RUN_MODE);
runControl->setRunConfiguration(config->runConfiguration());
if (!runControl) {
reportResult(ResultType::MessageFatal,
tr("Failed to create run configuration.\n%1").arg(errorMessage));
onFinished();
return;
}
QStringList omitted;
Runnable inferior = config->runnable();