diff --git a/RedPandaIDE/parser/cppparser.cpp b/RedPandaIDE/parser/cppparser.cpp index 281e0180..1b18d5c7 100644 --- a/RedPandaIDE/parser/cppparser.cpp +++ b/RedPandaIDE/parser/cppparser.cpp @@ -3249,7 +3249,6 @@ void CppParser::handleStructs(bool isTypedef) // normal class/struct decl } else { - bool templateSpecialization=false; PStatement firstSynonym; // Add class/struct name BEFORE opening brace if (mTokenizer[mIndex]->text.front() != '{') { diff --git a/RedPandaIDE/widgets/codecompletionpopup.cpp b/RedPandaIDE/widgets/codecompletionpopup.cpp index 2a25fb9a..262e984a 100644 --- a/RedPandaIDE/widgets/codecompletionpopup.cpp +++ b/RedPandaIDE/widgets/codecompletionpopup.cpp @@ -909,7 +909,7 @@ void CodeCompletionPopup::getCompletionListForTypeKeywordComplex(const QString & } } -void CodeCompletionPopup::getCompletionListForNamespaces(const QString &preWord, +void CodeCompletionPopup::getCompletionListForNamespaces(const QString &/*preWord*/, const QString& fileName, int line) { diff --git a/libs/qsynedit/qsynedit/highlighter/asm.cpp b/libs/qsynedit/qsynedit/highlighter/asm.cpp index 3f2dda8c..41870288 100644 --- a/libs/qsynedit/qsynedit/highlighter/asm.cpp +++ b/libs/qsynedit/qsynedit/highlighter/asm.cpp @@ -334,9 +334,8 @@ const PHighlighterAttribute &ASMHighlighter::getTokenAttribute() const case TokenId::Unknown: return mIdentifierAttribute; default: - break; + return mIdentifierAttribute; } - return PHighlighterAttribute(); } int ASMHighlighter::getTokenPos()