summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/H5B.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/H5B.c b/src/H5B.c
index 1348f37..a4d3bfe 100644
--- a/src/H5B.c
+++ b/src/H5B.c
@@ -2143,6 +2143,7 @@ H5B_assert(H5F_t *f, haddr_t addr, const H5B_class_t *type, void *udata)
int i, ncell, cmp;
static int ncalls = 0;
herr_t status;
+ herr_t ret_value=SUCCEED; /* Return value */
/* A queue of child data */
struct child_t {
@@ -2234,6 +2235,7 @@ H5B_assert(H5F_t *f, haddr_t addr, const H5B_class_t *type, void *udata)
head = tmp;
}
- FUNC_LEAVE(SUCCEED);
+done:
+ FUNC_LEAVE(ret_value);
}
#endif /* H5B_DEBUG */