Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
danmar committed Jun 20, 2024
1 parent 269e5ce commit d263cc4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/cfg/std.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2687,7 +2687,7 @@ void uninitvar_fpclassify(void)

void bool_isfinite(float f)
{
// cppcheck-suppress compareBoolExpressionWithInt
// cppcheck-suppress compareValueOutOfTypeRangeError
// cppcheck-suppress knownConditionTrueFalse
if (std::isfinite(f)==123) {}
}
Expand Down Expand Up @@ -2751,7 +2751,7 @@ void uninitvar_isgreaterequal(void)

void bool_isinf(float f)
{
// cppcheck-suppress compareBoolExpressionWithInt
// cppcheck-suppress compareValueOutOfTypeRangeError
// cppcheck-suppress knownConditionTrueFalse
if (std::isinf(f)==123) {}
}
Expand Down

0 comments on commit d263cc4

Please sign in to comment.