summaryrefslogtreecommitdiffstats
path: root/src/H5AC.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/H5AC.c')
-rw-r--r--src/H5AC.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/H5AC.c b/src/H5AC.c
index 9a0f7f6..dfdf6d4 100644
--- a/src/H5AC.c
+++ b/src/H5AC.c
@@ -1055,6 +1055,7 @@ H5AC_debug(H5F_t UNUSED *f)
H5AC_t *cache = f->shared->cache;
double miss_rate;
#endif
+ herr_t ret_value=SUCCEED; /* Return value */
FUNC_ENTER_NOAPI(H5AC_debug, FAIL);
@@ -1114,5 +1115,6 @@ H5AC_debug(H5F_t UNUSED *f)
}
#endif
- FUNC_LEAVE(SUCCEED);
+done:
+ FUNC_LEAVE(ret_value);
}