From 85cd761e3613c965349a61b51181f0b6a7ce4d59 Mon Sep 17 00:00:00 2001 From: Roy Qu Date: Sun, 1 Oct 2023 10:49:59 +0800 Subject: [PATCH] minor fix --- RedPandaIDE/parser/cpppreprocessor.cpp | 1 + 1 file changed, 1 insertion(+) 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)