minor fix

This commit is contained in:
Roy Qu 2023-10-01 10:49:59 +08:00
parent 14ba74e705
commit 85cd761e36
1 changed files with 1 additions and 0 deletions

View File

@ -912,6 +912,7 @@ CppPreprocessor::BranchResult CppPreprocessor::calcElseBranchResult(BranchResult
case BranchResult::parentIsFalse: return BranchResult::parentIsFalse; case BranchResult::parentIsFalse: return BranchResult::parentIsFalse;
} }
Q_ASSERT( false ); //We should fail here. Q_ASSERT( false ); //We should fail here.
return BranchResult::isFalse;
} }
void CppPreprocessor::addDefinesInFile(const QString &fileName) void CppPreprocessor::addDefinesInFile(const QString &fileName)