summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorvchoi <vchoi@jelly.ad.hdfgroup.org>2020-04-07 00:26:49 (GMT)
committerDavid Young <dyoung@hdfgroup.org>2020-05-20 14:31:58 (GMT)
commit8754e38ce7b41398f2340e8b7ac1538cddfd8433 (patch)
treedf153ebfefaa7473bee6dc68f13d38e0ec170ab9 /src
parent74fdd50f59edc818f2dd2d54152d8064ce639401 (diff)
downloadhdf5-8754e38ce7b41398f2340e8b7ac1538cddfd8433.zip
hdf5-8754e38ce7b41398f2340e8b7ac1538cddfd8433.tar.gz
hdf5-8754e38ce7b41398f2340e8b7ac1538cddfd8433.tar.bz2
Fix an error in previous merge: should use NULL instead of FAIL.
Diffstat (limited to 'src')
-rw-r--r--src/H5Dint.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/H5Dint.c b/src/H5Dint.c
index da05a9e..46ae8ca 100644
--- a/src/H5Dint.c
+++ b/src/H5Dint.c
@@ -1426,11 +1426,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 */