summaryrefslogtreecommitdiffstats
path: root/src/H5.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/H5.c')
-rw-r--r--src/H5.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/H5.c b/src/H5.c
index 6c79466..b105721 100644
--- a/src/H5.c
+++ b/src/H5.c
@@ -322,11 +322,10 @@ H5dont_atexit(void)
H5TRACE0("e","");
if (dont_atexit_g)
- HGOTO_DONE(FAIL)
+ ret_value=FAIL;
+ else
+ dont_atexit_g = TRUE;
- dont_atexit_g = TRUE;
-
-done:
FUNC_LEAVE_API(ret_value)
}