forked from qt-creator/qt-creator
AutoTest: Remove unreachable code
Change-Id: I98d3d21fe8239f376e0c2619b10bc5b44267cb0e Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
@@ -555,12 +555,6 @@ void TestRunner::debugTests()
|
|||||||
QString errorMessage;
|
QString errorMessage;
|
||||||
auto runControl = new RunControl(ProjectExplorer::Constants::DEBUG_RUN_MODE);
|
auto runControl = new RunControl(ProjectExplorer::Constants::DEBUG_RUN_MODE);
|
||||||
runControl->setRunConfiguration(config->runConfiguration());
|
runControl->setRunConfiguration(config->runConfiguration());
|
||||||
if (!runControl) {
|
|
||||||
reportResult(ResultType::MessageFatal,
|
|
||||||
tr("Failed to create run configuration.\n%1").arg(errorMessage));
|
|
||||||
onFinished();
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
QStringList omitted;
|
QStringList omitted;
|
||||||
Runnable inferior = config->runnable();
|
Runnable inferior = config->runnable();
|
||||||
|
|||||||
Reference in New Issue
Block a user