Skip to content

Commit

Permalink
Merge pull request #1890 from gsjaardema/patch-46
Browse files Browse the repository at this point in the history
Fix undefined struct member access
  • Loading branch information
WardF committed Dec 1, 2020
2 parents 3953fc2 + db0b842 commit c96722e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions libhdf5/hdf5file.c
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,7 @@ nc4_close_netcdf4_file(NC_FILE_INFO_T *h5, int abort, NC_memio *memio)

#if defined(ENABLE_BYTERANGE) || defined(ENABLE_HDF5_ROS3) || defined(ENABLE_S3_SDK)
/* Free the http info */
#ifdef ENABLE_HDF5_ROS3

This comment has been minimized.

Copy link
@hsbadr

hsbadr Dec 2, 2020

error: the #endif for this directive is missing.

ncurifree(hdf5_info->http.uri);
NC_authfree(hdf5_info->http.auth);
#endif
Expand Down

1 comment on commit c96722e

@DennisHeimbigner
Copy link
Collaborator

Choose a reason for hiding this comment

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

Actually there is one too many #ifdefs
See PR #1895

Please sign in to comment.