Skip to content

Commit

Permalink
Format
Browse files Browse the repository at this point in the history
  • Loading branch information
chrchr-github committed Aug 23, 2023
1 parent c4c2d88 commit 22caa89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/checkstring.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ void CheckString::checkIncorrectStringCompare()
incorrectStringCompareError(tok->next(), "substr", end->strAt(1));
}
}
} else if (Token::Match(tok, "%str%|%char%") &&
} else if (Token::Match(tok, "%str%|%char%") &&
isUsedAsBool(tok) &&
!isMacroUsage(tok))
incorrectStringBooleanError(tok, tok->str());
Expand Down

0 comments on commit 22caa89

Please sign in to comment.