From ef8cfc3e9f1fa4819e0e7dfffc7231c44365995c Mon Sep 17 00:00:00 2001 From: Quincey Koziol Date: Mon, 17 May 2010 16:18:04 -0500 Subject: [svn-r18834] Description: Correct function enter macro and add 'done' label, for routine that is only invoked when configured with --enable-debug=all. Tested on: Mac OS X/32 10.6.3 (amazon) w/debug & production (too minor to require h5committest) --- src/H5Bdbg.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/H5Bdbg.c b/src/H5Bdbg.c index 3212416..55d9617 100644 --- a/src/H5Bdbg.c +++ b/src/H5Bdbg.c @@ -189,7 +189,7 @@ H5B_assert(H5F_t *f, hid_t dxpl_id, haddr_t addr, const H5B_class_t *type, void struct child_t *next; } *head = NULL, *tail = NULL, *prev = NULL, *cur = NULL, *tmp = NULL; - FUNC_ENTER_NOAPI_NOFUNC(H5B_assert) + FUNC_ENTER_NOAPI_NOINIT(H5B_assert) if(0 == ncalls++) { if(H5DEBUG(B)) @@ -281,6 +281,7 @@ H5B_assert(H5F_t *f, hid_t dxpl_id, haddr_t addr, const H5B_class_t *type, void head = tmp; } /* end while */ +done: FUNC_LEAVE_NOAPI(ret_value) } /* end H5B_assert() */ #endif /* H5B_DEBUG */ -- cgit v0.12