summaryrefslogtreecommitdiffstats
path: root/src/H5Dint.c
diff options
context:
space:
mode:
authorvchoi <vchoi@jelly.ad.hdfgroup.org>2020-04-07 19:52:11 (GMT)
committervchoi <vchoi@jelly.ad.hdfgroup.org>2020-04-07 19:52:11 (GMT)
commit365f08e555e7e92f04b095ccfb3dae09b27fd0ad (patch)
tree4e4584f451406b4cd6db7e5965468c4312681092 /src/H5Dint.c
parentc566935876dc1bcba6ee4fcf2571c410ffb16312 (diff)
downloadhdf5-365f08e555e7e92f04b095ccfb3dae09b27fd0ad.zip
hdf5-365f08e555e7e92f04b095ccfb3dae09b27fd0ad.tar.gz
hdf5-365f08e555e7e92f04b095ccfb3dae09b27fd0ad.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 977940d..73dc526 100644
--- a/src/H5Dint.c
+++ b/src/H5Dint.c
@@ -1399,7 +1399,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)