Skip to content

Commit dcee438

Browse files
Update astutils.cpp
1 parent 6278f6b commit dcee438

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/astutils.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1816,7 +1816,7 @@ static bool isZeroBoundCond(const Token * const cond, bool reverse)
18161816

18171817
const Token* op = reverse ? cond->astOperand1() : cond->astOperand2();
18181818
if (!op->hasKnownIntValue())
1819-
return false;
1819+
return true;
18201820

18211821
// Assume unsigned
18221822
const bool isZero = op->getKnownIntValue() == 0;

0 commit comments

Comments
 (0)