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

Fixes a couple of warnings #849

Merged
merged 1 commit into from
Jul 22, 2021

Conversation

derobins
Copy link
Member

  • warn_unused_result warnings from h5jamgentest and h5stat_gentest
    that were triggered by write(2) calls where we didn't check the
    return value
  • A missing callback in the NULL VOL connector
  • A possibly uninitialized property list pointer (error case only)

 - warn_unused_result warnings from h5jamgentest and j5stat_gentest
   that were triggered by write(2) calls where we didn't check the
   return value
 - A missing callback in the NULL VOL connector
 - A possibly uninitialized property list pointer
@derobins
Copy link
Member Author

I updated the generators to check error codes, in general, so there's a lot more changes in those files than just the changes around the write(2) calls, though. The overall logic didn't change, though - just a lot of "if (badness) goto error" markup.

@lrknox lrknox merged commit 06de433 into HDFGroup:develop Jul 22, 2021
@derobins derobins deleted the minor/random_warning_fixes branch July 28, 2021 16:50
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.

4 participants