diff options
author | Dana Robinson <43805+derobins@users.noreply.github.com> | 2021-11-10 04:40:46 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-10 04:40:46 (GMT) |
commit | b488eb4ecc5397876d43f49a6892aa848ad45bdf (patch) | |
tree | a90b43a833ce43c592e7aadd70f0c2b394f26c50 /src/H5FDfamily.c | |
parent | 25fe28eb044f55d28c2d2cf572b32011eabba00c (diff) | |
download | hdf5-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/H5FDfamily.c')
-rw-r--r-- | src/H5FDfamily.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/H5FDfamily.c b/src/H5FDfamily.c index e51b6eb..4e54197 100644 --- a/src/H5FDfamily.c +++ b/src/H5FDfamily.c @@ -282,9 +282,9 @@ done: hid_t H5FD_family_init(void) { - hid_t ret_value = H5I_INVALID_HID; /* Return value */ + hid_t ret_value = H5I_INVALID_HID; - FUNC_ENTER_NOAPI(H5I_INVALID_HID) + FUNC_ENTER_NOAPI_NOERR if (H5I_VFL != H5I_get_type(H5FD_FAMILY_g)) H5FD_FAMILY_g = H5FD_register(&H5FD_family_g, sizeof(H5FD_class_t), FALSE); @@ -292,7 +292,6 @@ H5FD_family_init(void) /* Set return value */ ret_value = H5FD_FAMILY_g; -done: FUNC_LEAVE_NOAPI(ret_value) } /* H5FD_family_init() */ |