From 94a8d4302462ba66192ecf8773127536bb73fe20 Mon Sep 17 00:00:00 2001 From: Albert Cheng Date: Fri, 17 Sep 2010 11:06:12 -0500 Subject: [svn-r19417] Error return value was FAIL. Should be NULL. Tested: LLNL up which this was flagged. --- src/H5Dint.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 */ -- cgit v0.12