CMake: Remove needless tests

These tests were done just before calling these methods.

Change-Id: If9801609ff8b1c18d8cc6b446e80a998abc2a5cf
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
Tobias Hunger
2019-06-06 13:11:28 +02:00
parent 611e1ea837
commit 6a3ec1928c

View File

@@ -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;