Skip to content

Commit

Permalink
fix warning
Browse files Browse the repository at this point in the history
  • Loading branch information
ludviggunne committed Jan 9, 2025
1 parent c9a388e commit 004b38f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/checkunusedvar.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1551,7 +1551,7 @@ void CheckUnusedVar::checkStructMemberUsage()
}
}

if (Token::Match(tok, "] :")) {
if (Token::simpleMatch(tok, "] :")) {
tok = tok->next()->astOperand2();
const ValueType *valueType = tok->valueType();

Expand Down

0 comments on commit 004b38f

Please sign in to comment.