CMakeBuildStep: Remove dead code

Change-Id: I3ba8d5ece263f19c0b129e9de81888c9016583a5
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
Tobias Hunger
2020-02-24 10:47:24 +01:00
parent 64c9c9e184
commit 0dcd380865

View File

@@ -225,9 +225,6 @@ bool CMakeBuildStep::init()
void CMakeBuildStep::doRun() void CMakeBuildStep::doRun()
{ {
// Make sure CMake state was written to disk before trying to build: // Make sure CMake state was written to disk before trying to build:
CMakeBuildConfiguration *bc = cmakeBuildConfiguration();
QTC_ASSERT(bc, return);
m_waiting = false; m_waiting = false;
auto bs = static_cast<CMakeBuildSystem *>(buildSystem()); auto bs = static_cast<CMakeBuildSystem *>(buildSystem());
if (bs->persistCMakeState()) { if (bs->persistCMakeState()) {