diff options
author | Jacob Smith <jake.smith@hdfgroup.org> | 2018-09-12 19:02:30 (GMT) |
---|---|---|
committer | Jacob Smith <jake.smith@hdfgroup.org> | 2018-09-12 19:06:55 (GMT) |
commit | dde5666f425c6e0545c15d185b680b976f35206f (patch) | |
tree | 10a53d669a98655390f56161d420a7ee9f196c7f /src/H5Dint.c | |
parent | 7ef8d1d8484396ee220bf55ef1229c68b2b13534 (diff) | |
download | hdf5-dde5666f425c6e0545c15d185b680b976f35206f.zip hdf5-dde5666f425c6e0545c15d185b680b976f35206f.tar.gz hdf5-dde5666f425c6e0545c15d185b680b976f35206f.tar.bz2 |
Add additional tests (or placeholders for same).
Tests use h5_fixname().
Small changes.
Diffstat (limited to 'src/H5Dint.c')
-rw-r--r-- | src/H5Dint.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/H5Dint.c b/src/H5Dint.c index 6d095aa..3ad6c93 100644 --- a/src/H5Dint.c +++ b/src/H5Dint.c @@ -809,12 +809,15 @@ H5D__calculate_minimum_header_size( \ NULL); #else { - char tmp[1] = "\0"; + /* message pointer "tmp" is unused by raw get function, however, a null + * pointer is intercepted by an assert in H5O_msg_size_oh(). + */ + char tmp[1] = ""; ret_value += H5O_msg_size_oh( file, ohdr, H5O_CONT_ID, - tmp, /* NULL, */ /* UNUSED? */ /*intercepted by assert before passed through */ + tmp, 0); } #endif |