Skip to content

Conversation

@jsquyres
Copy link
Member

A variety of compiler warning fixes, most of which are unique to the v2.0.x branch.

At least one was in common with master (the memory/patcher fix), which was cherry picked from a commit in #3185.

I did not check to see if there were commits on master that fixed the other warnings; I just fixed them directly here on v2.0.x (it did not seem worth the spelunking effort).

@hppritcha Please review.

We don't use the "non-null" arg attribute stuff anywhere else, and we
don't use it on master.  So go ahead and remove it here, thereby
fixing a compiler warning (that we are redundantly checking the args
for NULL in the definition of the routine).

Signed-off-by: Jeff Squyres <jsquyres@cisco.com>
Don't define the madvise intercept functions since we're not currently
intercepting madvise.

Signed-off-by: Jeff Squyres <jsquyres@cisco.com>
(cherry picked from commit b51c4e2)
Remove unused variable.

Signed-off-by: Jeff Squyres <jsquyres@cisco.com>
Remove unused variables and unused label.

Signed-off-by: Jeff Squyres <jsquyres@cisco.com>
Remove now-unused code and unused variable.

Signed-off-by: Jeff Squyres <jsquyres@cisco.com>
Remove unused variable.

Signed-off-by: Jeff Squyres <jsquyres@cisco.com>
Add missing "const" qualifiers to some arguments.

Signed-off-by: Jeff Squyres <jsquyres@cisco.com>
@jsquyres jsquyres added this to the v2.0.3 milestone Mar 16, 2017
@jsquyres jsquyres requested a review from hppritcha March 16, 2017 13:41
@hppritcha hppritcha merged commit 975f586 into open-mpi:v2.0.x Mar 16, 2017
@jsquyres jsquyres deleted the pr/v2.0.3/compiler-warning-fixes branch December 7, 2021 22:23
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.

2 participants