summaryrefslogtreecommitdiffstats
path: root/src/H5Dint.c
diff options
context:
space:
mode:
authorJacob Smith <jake.smith@hdfgroup.org>2018-12-18 21:11:42 (GMT)
committerJacob Smith <jake.smith@hdfgroup.org>2018-12-18 21:11:42 (GMT)
commit7541ed1fc7c5c0593f3f2a09d548c983cf7d188a (patch)
treec872e11cad538e2b6ae797522fcd06404a11daff /src/H5Dint.c
parent507d9423c8f5c69d76d011d86722d2146532321f (diff)
downloadhdf5-7541ed1fc7c5c0593f3f2a09d548c983cf7d188a.zip
hdf5-7541ed1fc7c5c0593f3f2a09d548c983cf7d188a.tar.gz
hdf5-7541ed1fc7c5c0593f3f2a09d548c983cf7d188a.tar.bz2
Formatting adjustments.
Diffstat (limited to 'src/H5Dint.c')
-rw-r--r--src/H5Dint.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/H5Dint.c b/src/H5Dint.c
index 24c14a0..7c22835 100644
--- a/src/H5Dint.c
+++ b/src/H5Dint.c
@@ -925,9 +925,10 @@ H5D__update_oh_info(H5F_t *file, H5D_t *dset, hid_t dapl_id)
if(H5D__use_minimized_dset_headers(file, dset, &minimize_header) == FAIL)
HGOTO_ERROR(H5E_ARGS, H5E_CANTGET, FAIL, "can't get minimize settings")
- if((TRUE == minimize_header) && (H5D__prepare_minimized_oh(file, dset, oloc) == FAIL)
+ if(TRUE == minimize_header) {
+ if(H5D__prepare_minimized_oh(file, dset, oloc) == FAIL)
HGOTO_ERROR(H5E_DATASET, H5E_CANTINIT, FAIL, "can't create minimized dataset object header")
- else {
+ } else {
/* Add the dataset's raw data size to the size of the header, if the
* raw data will be stored as compact
*/