summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAlbert Cheng <acheng@hdfgroup.org>2010-09-17 16:06:12 (GMT)
committerAlbert Cheng <acheng@hdfgroup.org>2010-09-17 16:06:12 (GMT)
commit94a8d4302462ba66192ecf8773127536bb73fe20 (patch)
treec684773ed555be0d2fda5c5d1db1cbf566a2c886 /src
parentfad10086d283c342ea2a77ea4b3d7759ef786928 (diff)
downloadhdf5-94a8d4302462ba66192ecf8773127536bb73fe20.zip
hdf5-94a8d4302462ba66192ecf8773127536bb73fe20.tar.gz
hdf5-94a8d4302462ba66192ecf8773127536bb73fe20.tar.bz2
[svn-r19417] Error return value was FAIL. Should be NULL.
Tested: LLNL up which this was flagged.
Diffstat (limited to 'src')
-rw-r--r--src/H5Dint.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5Dint.c b/src/H5Dint.c
index a59b424..4c076f7 100644
--- a/src/H5Dint.c
+++ b/src/H5Dint.c
@@ -561,7 +561,7 @@ done:
if(ret_value == NULL)
if(new_dset != NULL) {
if(new_dset->dcpl_id != 0 && H5I_dec_ref(new_dset->dcpl_id) < 0)
- HDONE_ERROR(H5E_DATASET, H5E_CANTDEC, FAIL, "can't decrement temporary datatype ID")
+ HDONE_ERROR(H5E_DATASET, H5E_CANTDEC, NULL, "can't decrement temporary datatype ID")
new_dset = H5FL_FREE(H5D_shared_t, new_dset);
} /* end if */