Skip to content

v5.0.x: compiler warning fixes #9830

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

Merged
merged 2 commits into from
Jan 6, 2022

Conversation

jsquyres
Copy link
Member

@jsquyres jsquyres commented Jan 4, 2022

This is the v5.0.x version of the master PR #9814.

See individual commit messages for details.

Note that free(NULL) is legal in C99, so remove the
"__opal_attribute_nonnull__(1)" attribute from the buffer param to
opal_free() debug wrapper.

Signed-off-by: Jeff Squyres <jsquyres@cisco.com>
(cherry picked from commit 3037dfd)
Also, remove a superflous (uintptr_t) cast, and add an obvious "else"
to make the code a little more readable.

Signed-off-by: Jeff Squyres <jsquyres@cisco.com>
(cherry picked from commit a24846e)
@jsquyres jsquyres added this to the v5.0.0 milestone Jan 4, 2022
@jsquyres jsquyres requested review from bosilca and bwbarrett January 4, 2022 22:49
@gpaulsen gpaulsen merged commit 25f3ebd into open-mpi:v5.0.x Jan 6, 2022
@jsquyres jsquyres deleted the pr/v5.0/compiler-warning-fixes branch January 6, 2022 21:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants