summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorjhendersonHDF <jhenderson@hdfgroup.org>2021-12-13 23:31:02 (GMT)
committerGitHub <noreply@github.com>2021-12-13 23:31:02 (GMT)
commit300a4e2478d85a16a623f1e9f2d8426eadbbf994 (patch)
treeb862dce456d8a84c741ceee91abf064cbdbada5c /src
parentca28e3e631a3ea2777c85e6b6cbc1bf594d1bedc (diff)
downloadhdf5-300a4e2478d85a16a623f1e9f2d8426eadbbf994.zip
hdf5-300a4e2478d85a16a623f1e9f2d8426eadbbf994.tar.gz
hdf5-300a4e2478d85a16a623f1e9f2d8426eadbbf994.tar.bz2
Call FUNC_ENTER immediately in H5_init_library (#1287)
Diffstat (limited to 'src')
-rw-r--r--src/H5.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/H5.c b/src/H5.c
index 11b6eab..d4fca9a 100644
--- a/src/H5.c
+++ b/src/H5.c
@@ -146,6 +146,8 @@ H5_init_library(void)
size_t i;
herr_t ret_value = SUCCEED;
+ FUNC_ENTER_NOAPI(FAIL)
+
/* Run the library initialization routine, if it hasn't already run */
if (H5_INIT_GLOBAL || H5_TERM_GLOBAL)
HGOTO_DONE(SUCCEED)
@@ -155,8 +157,6 @@ H5_init_library(void)
*/
H5_INIT_GLOBAL = TRUE;
- FUNC_ENTER_NOAPI(FAIL)
-
#ifdef H5_HAVE_PARALLEL
{
int mpi_initialized;