summaryrefslogtreecommitdiffstats
path: root/src/H5FDfamily.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/H5FDfamily.c')
-rw-r--r--src/H5FDfamily.c5
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() */