Skip to content

Commit ff580f9

Browse files
committed
Make Ci happy
1 parent 0e8e004 commit ff580f9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: lib/checkother.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -513,7 +513,7 @@ void CheckOther::checkRedundantAssignment()
513513
const Token * tokenToCheck = tok->astOperand1();
514514

515515
// Check if we are working with union
516-
for (const Token* tempToken = tokenToCheck; Token::Match(tempToken, ".");) {
516+
for (const Token* tempToken = tokenToCheck; Token::simpleMatch(tempToken, ".");) {
517517
tempToken = tempToken->astOperand1();
518518
if (tempToken && tempToken->variable() && tempToken->variable()->type() && tempToken->variable()->type()->isUnionType())
519519
tokenToCheck = tempToken;

0 commit comments

Comments
 (0)