diff --git a/RedPandaIDE/parser/cpppreprocessor.cpp b/RedPandaIDE/parser/cpppreprocessor.cpp index bec20c71..c02aef9a 100644 --- a/RedPandaIDE/parser/cpppreprocessor.cpp +++ b/RedPandaIDE/parser/cpppreprocessor.cpp @@ -912,6 +912,7 @@ CppPreprocessor::BranchResult CppPreprocessor::calcElseBranchResult(BranchResult case BranchResult::parentIsFalse: return BranchResult::parentIsFalse; } Q_ASSERT( false ); //We should fail here. + return BranchResult::isFalse; } void CppPreprocessor::addDefinesInFile(const QString &fileName)