summaryrefslogtreecommitdiffstats
path: root/src/H5FDsec2.c
diff options
context:
space:
mode:
authorDana Robinson <43805+derobins@users.noreply.github.com>2021-11-10 04:40:46 (GMT)
committerGitHub <noreply@github.com>2021-11-10 04:40:46 (GMT)
commitb488eb4ecc5397876d43f49a6892aa848ad45bdf (patch)
treea90b43a833ce43c592e7aadd70f0c2b394f26c50 /src/H5FDsec2.c
parent25fe28eb044f55d28c2d2cf572b32011eabba00c (diff)
downloadhdf5-b488eb4ecc5397876d43f49a6892aa848ad45bdf.zip
hdf5-b488eb4ecc5397876d43f49a6892aa848ad45bdf.tar.gz
hdf5-b488eb4ecc5397876d43f49a6892aa848ad45bdf.tar.bz2
Fixes FUNC_ENTER warnings in VFDs due to recent init changes (#1178)
Diffstat (limited to 'src/H5FDsec2.c')
-rw-r--r--src/H5FDsec2.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/H5FDsec2.c b/src/H5FDsec2.c
index ca29eea..77cc58e 100644
--- a/src/H5FDsec2.c
+++ b/src/H5FDsec2.c
@@ -203,7 +203,7 @@ H5FD_sec2_init(void)
char *lock_env_var = NULL; /* Environment variable pointer */
hid_t ret_value = H5I_INVALID_HID; /* Return value */
- FUNC_ENTER_NOAPI(H5I_INVALID_HID)
+ FUNC_ENTER_NOAPI_NOERR
/* Check the use disabled file locks environment variable */
lock_env_var = HDgetenv(HDF5_USE_FILE_LOCKING);
@@ -220,7 +220,6 @@ H5FD_sec2_init(void)
/* Set return value */
ret_value = H5FD_SEC2_g;
-done:
FUNC_LEAVE_NOAPI(ret_value)
} /* end H5FD_sec2_init() */