Skip to content

Commit

Permalink
Format
Browse files Browse the repository at this point in the history
  • Loading branch information
pfultz2 committed Apr 10, 2024
1 parent a77a967 commit 67ccc82
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/astutils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3359,7 +3359,7 @@ ExprUsage getExprUsage(const Token* tok, int indirect, const Settings* settings)
return ExprUsage::NotUsed;
if (Token::simpleMatch(parent, ":") && Token::simpleMatch(parent->astParent(), "?"))
return getExprUsage(parent->astParent(), indirect, settings);
if(isUsedAsBool(tok, settings))
if (isUsedAsBool(tok, settings))
return ExprUsage::NotUsed;
}
if (indirect == 0) {
Expand Down

0 comments on commit 67ccc82

Please sign in to comment.