diff options
author | Christian Stenger <christian.stenger@qt.io> | 2020-03-11 08:10:12 +0100 |
---|---|---|
committer | Christian Stenger <christian.stenger@qt.io> | 2020-03-11 11:39:31 +0000 |
commit | 769bd017b93c268d018f2773bae72b434cf38804 (patch) | |
tree | 639c22ee609dbfee32b3119aa44dc96e7a981820 /src/plugins/autotest | |
parent | ff8751c57678cceb49ce3d215da4735af4d337a3 (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.cpp | 6 |
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(); |