diff options
author | Quincey Koziol <koziol@koziol.gov> | 2020-01-04 04:16:38 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@koziol.gov> | 2020-01-04 04:16:38 (GMT) |
commit | 0225e6d59698c9a720177766794619c7ad273f4a (patch) | |
tree | 7abfb57ae22f1b886bafb18294054386cdaba134 /test/dsets.c | |
parent | 041b14c876cc7466da7868ef563563c879951ad6 (diff) | |
download | hdf5-0225e6d59698c9a720177766794619c7ad273f4a.zip hdf5-0225e6d59698c9a720177766794619c7ad273f4a.tar.gz hdf5-0225e6d59698c9a720177766794619c7ad273f4a.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; |