diff options
author | vchoi <vchoi@jelly.ad.hdfgroup.org> | 2020-04-07 18:17:56 (GMT) |
---|---|---|
committer | David Young <dyoung@hdfgroup.org> | 2020-05-20 14:31:58 (GMT) |
commit | 5aa4de3c326440037c48afaf4bdcff6927a08908 (patch) | |
tree | 2a14060ef739b0fdb567256f68446117a6ef4913 | |
parent | 8754e38ce7b41398f2340e8b7ac1538cddfd8433 (diff) | |
download | hdf5-5aa4de3c326440037c48afaf4bdcff6927a08908.zip hdf5-5aa4de3c326440037c48afaf4bdcff6927a08908.tar.gz hdf5-5aa4de3c326440037c48afaf4bdcff6927a08908.tar.bz2 |
Fix according to PR feedback.
-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 46ae8ca..6c81f78 100644 --- a/src/H5Dint.c +++ b/src/H5Dint.c @@ -1403,7 +1403,7 @@ H5D__create(H5F_t *file, hid_t type_id, const H5S_t *space, hid_t dcpl_id, ret_value = new_dset; done: - if(!ret_value && new_dset && new_dset->shared) { + if(!ret_value && new_dset) { if(new_dset->shared) { if(layout_init) if(new_dset->shared->layout.ops->dest && (new_dset->shared->layout.ops->dest)(new_dset) < 0) |