Skip to content

Commit

Permalink
minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
royqh1979 committed Dec 3, 2022
1 parent dcc7011 commit 9f2ab04
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
1 change: 0 additions & 1 deletion RedPandaIDE/parser/cppparser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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() != '{') {
Expand Down
2 changes: 1 addition & 1 deletion RedPandaIDE/widgets/codecompletionpopup.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down
3 changes: 1 addition & 2 deletions libs/qsynedit/qsynedit/highlighter/asm.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -334,9 +334,8 @@ const PHighlighterAttribute &ASMHighlighter::getTokenAttribute() const
case TokenId::Unknown:
return mIdentifierAttribute;
default:
break;
return mIdentifierAttribute;
}
return PHighlighterAttribute();
}

int ASMHighlighter::getTokenPos()
Expand Down

0 comments on commit 9f2ab04

Please sign in to comment.