diff options
author | Quincey Koziol <koziol@koziol.gov> | 2020-01-04 04:16:38 (GMT) |
---|---|---|
committer | David Young <dyoung@hdfgroup.org> | 2020-05-20 14:20:23 (GMT) |
commit | d1d4635550d989a887db98791213c455894b48eb (patch) | |
tree | d5211375925133398e500dc157819b289b737566 /test/dsets.c | |
parent | d459e350a57464945d6645a36dc420a160ed1aee (diff) | |
download | hdf5-d1d4635550d989a887db98791213c455894b48eb.zip hdf5-d1d4635550d989a887db98791213c455894b48eb.tar.gz hdf5-d1d4635550d989a887db98791213c455894b48eb.tar.bz2 |
Small changes from the token_refactoring branch, to reduce the delta to develop
Diffstat (limited to 'test/dsets.c')
-rw-r--r-- | test/dsets.c | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/test/dsets.c b/test/dsets.c index 26a47f0..b866dfe 100644 --- a/test/dsets.c +++ b/test/dsets.c @@ -12776,20 +12776,23 @@ error: } /* end dls_01_write_data() */ static herr_t -dls_01_read_stuff( hid_t fid ) +dls_01_read_stuff(hid_t fid) { int status = 0; hid_t did = 0; H5O_info_t info; - did = H5Dopen2( fid, DLS_01_DATASET, H5P_DEFAULT ); - if ( did <= 0 ) TEST_ERROR + did = H5Dopen2(fid, DLS_01_DATASET, H5P_DEFAULT); + if(did <= 0) + TEST_ERROR - status = H5Oget_info2( did, &info, H5O_INFO_BASIC ); - if ( status != 0 ) TEST_ERROR + status = H5Oget_info2(did, &info, H5O_INFO_BASIC ); + if(status != 0) + TEST_ERROR - status = H5Dclose( did ); - if ( status != 0 ) TEST_ERROR + status = H5Dclose(did); + if(status != 0) + TEST_ERROR return SUCCEED; |