summaryrefslogtreecommitdiffstats
path: root/src/H5Dint.c
diff options
context:
space:
mode:
authorvchoi <vchoi@jelly.ad.hdfgroup.org>2020-04-07 00:26:49 (GMT)
committervchoi <vchoi@jelly.ad.hdfgroup.org>2020-04-07 00:26:49 (GMT)
commit230570b5934ccd3572d6af82a27b22ad338bd7c3 (patch)
tree98be559f6ffc370dc8ea516488bae92b19841a76 /src/H5Dint.c
parentb3e966e33d8eeeecfc785fe181ad11e94dc4040b (diff)
downloadhdf5-230570b5934ccd3572d6af82a27b22ad338bd7c3.zip
hdf5-230570b5934ccd3572d6af82a27b22ad338bd7c3.tar.gz
hdf5-230570b5934ccd3572d6af82a27b22ad338bd7c3.tar.bz2
Fix an error in previous merge: should use NULL instead of FAIL.
Diffstat (limited to 'src/H5Dint.c')
-rw-r--r--src/H5Dint.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/H5Dint.c b/src/H5Dint.c
index 954b619..2e37aa4 100644
--- a/src/H5Dint.c
+++ b/src/H5Dint.c
@@ -1425,11 +1425,11 @@ done:
if(new_dset->shared->type) {
if(new_dset->shared->type_id > 0) {
if(H5I_dec_ref(new_dset->shared->type_id) < 0)
- HDONE_ERROR(H5E_DATASET, H5E_CLOSEERROR, FAIL, "unable to release datatype")
+ HDONE_ERROR(H5E_DATASET, H5E_CLOSEERROR, NULL, "unable to release datatype")
} /* end if */
else {
if(H5T_close_real(new_dset->shared->type) < 0)
- HDONE_ERROR(H5E_DATASET, H5E_CLOSEERROR, FAIL, "unable to release datatype")
+ HDONE_ERROR(H5E_DATASET, H5E_CLOSEERROR, NULL, "unable to release datatype")
} /* end else */
} /* end if */