summaryrefslogtreecommitdiffstats
path: root/src/H5HFsection.c
diff options
context:
space:
mode:
authorMohamad Chaarawi <chaarawi@hdfgroup.org>2012-08-02 21:54:34 (GMT)
committerMohamad Chaarawi <chaarawi@hdfgroup.org>2012-08-02 21:54:34 (GMT)
commit60d3b3091764c2ec9bede45aeacb6b2da1fa22d8 (patch)
tree31cc6c48f0f4976d10e4a7b9d726bb4222f2c0f3 /src/H5HFsection.c
parentbbaf4fb19b452e093bde1616df351dfa34f30840 (diff)
parentcc7ae0a7fe9451062a1fb370ae2a36c0789a60e3 (diff)
downloadhdf5-60d3b3091764c2ec9bede45aeacb6b2da1fa22d8.zip
hdf5-60d3b3091764c2ec9bede45aeacb6b2da1fa22d8.tar.gz
hdf5-60d3b3091764c2ec9bede45aeacb6b2da1fa22d8.tar.bz2
[svn-r22623] merge from tunk
Diffstat (limited to 'src/H5HFsection.c')
-rw-r--r--src/H5HFsection.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/H5HFsection.c b/src/H5HFsection.c
index 87fa069..e9ea7e0 100644
--- a/src/H5HFsection.c
+++ b/src/H5HFsection.c
@@ -651,9 +651,7 @@ herr_t
H5HF_sect_single_dblock_info(H5HF_hdr_t *hdr, hid_t dxpl_id,
H5HF_free_section_t *sect, haddr_t *dblock_addr, size_t *dblock_size)
{
- herr_t ret_value = SUCCEED; /* Return value */
-
- FUNC_ENTER_NOAPI(FAIL)
+ FUNC_ENTER_NOAPI_NOERR
/*
* Check arguments.
@@ -678,8 +676,7 @@ H5HF_sect_single_dblock_info(H5HF_hdr_t *hdr, hid_t dxpl_id,
*dblock_size = hdr->man_dtable.row_block_size[sect->u.single.par_entry / hdr->man_dtable.cparam.width];
} /* end else */
-done:
- FUNC_LEAVE_NOAPI(ret_value)
+ FUNC_LEAVE_NOAPI(SUCCEED)
} /* end H5HF_sect_single_dblock_info() */