summaryrefslogtreecommitdiffstats
path: root/test/dsets.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@lbl.gov>2020-01-04 15:31:30 (GMT)
committerQuincey Koziol <koziol@lbl.gov>2020-01-04 15:31:30 (GMT)
commit4f98de52d64a283b6ff63281c2e06365b3b94df0 (patch)
treebddf2c7f13aaaa309e5aeb74d96cc12e5fc52e4a /test/dsets.c
parent99e990e1ee8b6610793b8a2eb87bd2e2c77ab020 (diff)
parent0225e6d59698c9a720177766794619c7ad273f4a (diff)
downloadhdf5-4f98de52d64a283b6ff63281c2e06365b3b94df0.zip
hdf5-4f98de52d64a283b6ff63281c2e06365b3b94df0.tar.gz
hdf5-4f98de52d64a283b6ff63281c2e06365b3b94df0.tar.bz2
Merge pull request #2228 in HDFFV/hdf5 from minor_improvements_from_token_refactor to develop
* commit '0225e6d59698c9a720177766794619c7ad273f4a': Small changes from the token_refactoring branch, to reduce the delta to develop
Diffstat (limited to 'test/dsets.c')
-rw-r--r--test/dsets.c17
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;