diff options
author | Allen Byrne <50328838+byrnHDF@users.noreply.github.com> | 2023-08-02 16:28:08 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-02 16:28:08 (GMT) |
commit | 89b4afd4b317c5131cbc8607c99d21b369d050eb (patch) | |
tree | fb2e6c99d110a7c6e40e0671aa2f24d5e96a7060 /src/H5PLplugin_cache.c | |
parent | b78729638bf69dca9e0dd86eddd530d5fc1aef40 (diff) | |
download | hdf5-89b4afd4b317c5131cbc8607c99d21b369d050eb.zip hdf5-89b4afd4b317c5131cbc8607c99d21b369d050eb.tar.gz hdf5-89b4afd4b317c5131cbc8607c99d21b369d050eb.tar.bz2 |
Fix loading plugin fails with missing directory GH issue #3248 (#3324)
Diffstat (limited to 'src/H5PLplugin_cache.c')
-rw-r--r-- | src/H5PLplugin_cache.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/H5PLplugin_cache.c b/src/H5PLplugin_cache.c index cf0fd23..b74f6a1 100644 --- a/src/H5PLplugin_cache.c +++ b/src/H5PLplugin_cache.c @@ -273,7 +273,7 @@ H5PL__find_plugin_in_cache(const H5PL_search_params_t *search_params, hbool_t *f /* Get the "get plugin info" function from the plugin. */ if (NULL == (get_plugin_info_function = (H5PL_get_plugin_info_t)H5PL_GET_LIB_FUNC( - (H5PL_cache_g[u]).handle, "H5PLget_plugin_info"))) + H5PL_cache_g[u].handle, "H5PLget_plugin_info"))) HGOTO_ERROR(H5E_PLUGIN, H5E_CANTGET, FAIL, "can't get function for H5PLget_plugin_info") /* Call the "get plugin info" function */ @@ -286,9 +286,7 @@ H5PL__find_plugin_in_cache(const H5PL_search_params_t *search_params, hbool_t *f /* No need to continue processing */ break; - - } /* end if */ - + } } /* end for */ done: |