summaryrefslogtreecommitdiffstats
path: root/src/H5Oattr.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/H5Oattr.c')
-rw-r--r--src/H5Oattr.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/H5Oattr.c b/src/H5Oattr.c
index 1ec7a3f..40da90a 100644
--- a/src/H5Oattr.c
+++ b/src/H5Oattr.c
@@ -342,6 +342,7 @@ H5O_attr_size(H5F_t UNUSED *f, const void *mesg)
H5O_ALIGN(attr->ds_size) + /*data space */
attr->data_size; /*the data itself */
+done:
FUNC_LEAVE(ret_value);
}
@@ -406,6 +407,7 @@ H5O_attr_debug(H5F_t *f, const void *_mesg, FILE * stream, int indent,
int fwidth)
{
const H5A_t *mesg = (const H5A_t *)_mesg;
+ herr_t ret_value=SUCCEED; /* Return value */
FUNC_ENTER_NOAPI(H5O_attr_debug, FAIL);
@@ -440,5 +442,6 @@ H5O_attr_debug(H5F_t *f, const void *_mesg, FILE * stream, int indent,
fprintf(stream, "%*sData space...\n", indent, "");
H5S_debug(f, mesg->ds, stream, indent+3, MAX(0, fwidth-3));
- FUNC_LEAVE(SUCCEED);
+done:
+ FUNC_LEAVE(ret_value);
}