aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/autotest
diff options
context:
space:
mode:
authorChristian Stenger <christian.stenger@qt.io>2020-03-11 08:10:12 +0100
committerChristian Stenger <christian.stenger@qt.io>2020-03-11 11:39:31 +0000
commit769bd017b93c268d018f2773bae72b434cf38804 (patch)
tree639c22ee609dbfee32b3119aa44dc96e7a981820 /src/plugins/autotest
parentff8751c57678cceb49ce3d215da4735af4d337a3 (diff)
AutoTest: Remove unreachable code
Change-Id: I98d3d21fe8239f376e0c2619b10bc5b44267cb0e Reviewed-by: David Schulz <david.schulz@qt.io>
Diffstat (limited to 'src/plugins/autotest')
-rw-r--r--src/plugins/autotest/testrunner.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/plugins/autotest/testrunner.cpp b/src/plugins/autotest/testrunner.cpp
index fa529a902b0..ec3c1e2f490 100644
--- a/src/plugins/autotest/testrunner.cpp
+++ b/src/plugins/autotest/testrunner.cpp
@@ -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();