diff options
author | vchoi <vchoi@jelly.ad.hdfgroup.org> | 2020-04-07 18:17:56 (GMT) |
---|---|---|
committer | vchoi <vchoi@jelly.ad.hdfgroup.org> | 2020-04-07 18:17:56 (GMT) |
commit | db9155c2f34bbf77a1cda01904805fe5c993b6d5 (patch) | |
tree | bfd4b76a149273fc7d39df0def7aad09872c1660 | |
parent | 230570b5934ccd3572d6af82a27b22ad338bd7c3 (diff) | |
download | hdf5-db9155c2f34bbf77a1cda01904805fe5c993b6d5.zip hdf5-db9155c2f34bbf77a1cda01904805fe5c993b6d5.tar.gz hdf5-db9155c2f34bbf77a1cda01904805fe5c993b6d5.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 2e37aa4..4c6814d 100644 --- a/src/H5Dint.c +++ b/src/H5Dint.c @@ -1402,7 +1402,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) |