Skip to content
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

Merged
merged 1 commit into from
Oct 31, 2023

Conversation

dylanjtuttle
Copy link
Contributor

@dylanjtuttle dylanjtuttle commented Oct 10, 2023

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

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]>
Copy link
Member

@hzongaro hzongaro left a 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!

@hzongaro
Copy link
Member

Marius @mpirvu, if you're OK with this change now, may I ask you to mark your approval?

Copy link
Contributor

@mpirvu mpirvu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@hzongaro
Copy link
Member

Running a subset of platforms to avoid too much pressure on Jenkins servers.

Jenkins test sanity zlinux,aix,alinux,win jdk17

@hzongaro
Copy link
Member

Looks like Windows failure was due to an infrastructure issue. Restarting:

Jenkins test sanity win jdk17

@hzongaro hzongaro merged commit edd7fc3 into eclipse-openj9:master Oct 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants