summaryrefslogtreecommitdiffstats
path: root/src/H5FDint.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/H5FDint.c')
-rw-r--r--src/H5FDint.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/H5FDint.c b/src/H5FDint.c
index c567499..d7fe33c 100644
--- a/src/H5FDint.c
+++ b/src/H5FDint.c
@@ -464,7 +464,7 @@ H5FD_check_plugin_load(const H5FD_class_t *cls, const H5PL_key_t *key, hbool_t *
{
herr_t ret_value = SUCCEED; /* Return value */
- FUNC_ENTER_NOAPI(FAIL)
+ FUNC_ENTER_NOAPI_NOERR
/* Sanity checks */
HDassert(cls);
@@ -476,7 +476,7 @@ H5FD_check_plugin_load(const H5FD_class_t *cls, const H5PL_key_t *key, hbool_t *
/* Check if plugin name matches VFD class name */
if (cls->name && !HDstrcmp(cls->name, key->vfd.u.name))
*success = TRUE;
- } /* end if */
+ }
else {
/* Sanity check */
HDassert(key->vfd.kind == H5FD_GET_DRIVER_BY_VALUE);
@@ -484,9 +484,8 @@ H5FD_check_plugin_load(const H5FD_class_t *cls, const H5PL_key_t *key, hbool_t *
/* Check if plugin value matches VFD class value */
if (cls->value == key->vfd.u.value)
*success = TRUE;
- } /* end else */
+ }
-done:
FUNC_LEAVE_NOAPI(ret_value)
} /* end H5FD_check_plugin_load() */