Skip to content

Commit

Permalink
Update checkother.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
chrchr-github committed Jul 10, 2024
1 parent 4abb362 commit 2ba289f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/checkother.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -396,8 +396,8 @@ void CheckOther::suspiciousFloatingPointCast()
const Token* parent = tok->astParent();
if (!parent || !parent->valueType() || std::find(sourceTypes.begin(), sourceTypes.end(), parent->valueType()->type) == sourceTypes.end())
continue;
suspiciousFloatingPointCastError(tok);

suspiciousFloatingPointCastError(tok);
}
}
}
Expand Down

0 comments on commit 2ba289f

Please sign in to comment.