diff --git a/src/plugins/cmakeprojectmanager/cmakeproject.cpp b/src/plugins/cmakeprojectmanager/cmakeproject.cpp index 1182b9699ef..da349f8e1c5 100644 --- a/src/plugins/cmakeprojectmanager/cmakeproject.cpp +++ b/src/plugins/cmakeprojectmanager/cmakeproject.cpp @@ -548,9 +548,6 @@ void CMakeProject::handleParsingSuccess(CMakeBuildConfiguration *bc) { QTC_ASSERT(m_waitingForParse, return); - if (!bc || !bc->isActive()) - return; - m_waitingForParse = false; m_combinedScanAndParseResult = m_combinedScanAndParseResult && true; @@ -561,9 +558,6 @@ void CMakeProject::handleParsingError(CMakeBuildConfiguration *bc) { QTC_CHECK(m_waitingForParse); - if (!bc || !bc->isActive()) - return; - m_waitingForParse = false; m_combinedScanAndParseResult = false;