diff options
author | Neil Fortner <nfortne2@hdfgroup.org> | 2015-05-05 20:15:40 (GMT) |
---|---|---|
committer | Neil Fortner <nfortne2@hdfgroup.org> | 2015-05-05 20:15:40 (GMT) |
commit | 8fe3dfbf9410ad5acabeaeb187bfb5f7b489042e (patch) | |
tree | 393d8485ce30da4ef690f7a1f7fc20a30347d9e4 /src/H5Dint.c | |
parent | 8ba06cb15e5bab3b49f210ff6d635d35fc4ed1ec (diff) | |
download | hdf5-8fe3dfbf9410ad5acabeaeb187bfb5f7b489042e.zip hdf5-8fe3dfbf9410ad5acabeaeb187bfb5f7b489042e.tar.gz hdf5-8fe3dfbf9410ad5acabeaeb187bfb5f7b489042e.tar.bz2 |
[svn-r27022] Add new functions H5Pset_virtual_dataspace_bounds and
H5Pget_virtual_dataspace_bounds.
Minor refactor of dataset initialization code to make this cleaner.
Update h5_vds-percival-unlim-maxmin.c
Other minor fixes/cleanup.
Tested: ummon
Diffstat (limited to 'src/H5Dint.c')
-rw-r--r-- | src/H5Dint.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5Dint.c b/src/H5Dint.c index 1757665..39b3eaf 100644 --- a/src/H5Dint.c +++ b/src/H5Dint.c @@ -1052,7 +1052,7 @@ H5D__create(H5F_t *file, hid_t type_id, const H5S_t *space, hid_t dcpl_id, HGOTO_ERROR(H5E_DATASET, H5E_CANTINIT, NULL, "unable to initialize I/O operations") /* Create the layout information for the new dataset */ - if((new_dset->shared->layout.ops->construct)(file, new_dset) < 0) + if(new_dset->shared->layout.ops->construct && (new_dset->shared->layout.ops->construct)(file, new_dset) < 0) HGOTO_ERROR(H5E_DATASET, H5E_CANTINIT, NULL, "unable to construct layout information") /* Update the dataset's object header info. */ |