mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-02-23 16:20:57 +08:00
[svn-r29245] use HDONE_ERROR instead of HGOTO after done.
This commit is contained in:
parent
281a4901f6
commit
c9c8ec5f7c
@ -548,7 +548,7 @@ done:
|
||||
#ifdef H5_DEBUG_BUILD
|
||||
/* release the metadata dxpl that was copied in the init function */
|
||||
if(H5I_dec_ref(io_info.md_dxpl_id) < 0)
|
||||
HGOTO_ERROR(H5E_DATASET, H5E_CANTDEC, FAIL, "can't close metadata dxpl")
|
||||
HDONE_ERROR(H5E_DATASET, H5E_CANTDEC, FAIL, "can't close metadata dxpl")
|
||||
#endif /* H5_DEBUG_BUILD */
|
||||
#ifdef H5_HAVE_PARALLEL
|
||||
/* Shut down io_info struct */
|
||||
@ -808,7 +808,7 @@ done:
|
||||
#ifdef H5_DEBUG_BUILD
|
||||
/* release the metadata dxpl that was copied in the init function */
|
||||
if(H5I_dec_ref(io_info.md_dxpl_id) < 0)
|
||||
HGOTO_ERROR(H5E_DATASET, H5E_CANTDEC, FAIL, "can't close metadata dxpl")
|
||||
HDONE_ERROR(H5E_DATASET, H5E_CANTDEC, FAIL, "can't close metadata dxpl")
|
||||
#endif /* H5_DEBUG_BUILD */
|
||||
#ifdef H5_HAVE_PARALLEL
|
||||
/* Shut down io_info struct */
|
||||
|
Loading…
Reference in New Issue
Block a user