summaryrefslogtreecommitdiffstats
path: root/src/H5Dint.c
diff options
context:
space:
mode:
authorvchoi <vchoi@jelly.ad.hdfgroup.org>2020-04-07 18:17:56 (GMT)
committervchoi <vchoi@jelly.ad.hdfgroup.org>2020-04-07 18:17:56 (GMT)
commitdb9155c2f34bbf77a1cda01904805fe5c993b6d5 (patch)
treebfd4b76a149273fc7d39df0def7aad09872c1660 /src/H5Dint.c
parent230570b5934ccd3572d6af82a27b22ad338bd7c3 (diff)
downloadhdf5-db9155c2f34bbf77a1cda01904805fe5c993b6d5.zip
hdf5-db9155c2f34bbf77a1cda01904805fe5c993b6d5.tar.gz
hdf5-db9155c2f34bbf77a1cda01904805fe5c993b6d5.tar.bz2
Fix according to PR feedback.
Diffstat (limited to 'src/H5Dint.c')
-rw-r--r--src/H5Dint.c2
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)