-
Notifications
You must be signed in to change notification settings - Fork 858
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
Nidmap.c and onesided_aggregation.c Compiler Warnings fix #7172
Conversation
Can one of the admins verify this patch? |
ok to test |
Thanks for the fix. Looks like we can now remove lines 2027 and 2028 in |
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.
This looks good - just remove these two lines.
Thanks.
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.
@awlauria I think you're right, but given that this is ROMIO (i.e., a 3rd party import into our repo), we usually go for the minimum distance fixes so that the next time we import ROMIO, we can identify the changes that we may need to carry over to the next version.
So I think that just setting it to NULL is fine (and leaving the other 2 lines).
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.
Actually, I would like to make one minor request: please split this into 2 commits. These changes are in very different parts of the code base, so we would probably split the individual changes into their own separate commits.
Squash compiler warning. Signed-off-by: William Bailey <wbailey2@nd.edu>
Squash compiler warning. ROMIO is third-party software but has an annoying compiler warning; this is the minimum distance fix. Signed-off-by: William Bailey <wbailey2@nd.edu>
I just updated these fixes and split them into two. |
@awlauria Are you ok with this? |
Dismissing, because Austen is on vacation, and his changes have been applied.
There are some compiler warning messages that appear for uninitialized values for both nidmap.c and onesided_aggregation.c . I found the variables causing these issues.
For nidmap.c there was a declared variable rc which was not initialized so I set it = 0.
For onesided_aggregation.c there was a declared variable *derivedTypePackedSourceBuffer but not initialized. I found the variable declartion and initialized it to = NULL.
Signed-off-by: William Bailey wbailey2@nd.edu