-
Notifications
You must be signed in to change notification settings - Fork 729
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Eliminate tautological comparisons #18261
Eliminate tautological comparisons #18261
Conversation
2e88ff4
to
262f0b2
Compare
Fix an AIX warning concerning tautological comparisons (i.e. boolean comparisons which will always evaluate to the same value) by eliminating them Signed-off-by: Dylan Tuttle <[email protected]>
262f0b2
to
7be404a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. Thanks for making those changes!
Marius @mpirvu, if you're OK with this change now, may I ask you to mark your approval? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Running a subset of platforms to avoid too much pressure on Jenkins servers. Jenkins test sanity zlinux,aix,alinux,win jdk17 |
Looks like Windows failure was due to an infrastructure issue. Restarting: Jenkins test sanity win jdk17 |
Fix an AIX warning concerning tautological comparisons (i.e. boolean comparisons which will always evaluate to the same value) by eliminating them. In both situations, variables with type
UDATA
(which is an unsigned data type and would therefore never be negative) were compared with zero.This PR contributes to (but does not close) #14859