From 898a7a930b7c1cf93b9c3b90614fb64964496227 Mon Sep 17 00:00:00 2001 From: Quincey Koziol Date: Wed, 4 Dec 2024 17:11:44 -0600 Subject: [PATCH] Fix warning Signed-off-by: Quincey Koziol --- src/H5Iint.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/H5Iint.c b/src/H5Iint.c index a1b9f9665b3..18bd81e470a 100644 --- a/src/H5Iint.c +++ b/src/H5Iint.c @@ -1487,7 +1487,7 @@ H5I__iterate_cb(void *_item, void H5_ATTR_UNUSED *_key, void *_udata) if ((!udata->app_ref) || (info->app_count > 0)) { H5I_type_t type = udata->obj_type; void *object; - herr_t cb_ret_val; + herr_t cb_ret_val = FAIL; /* The stored object pointer might be an H5VL_object_t, in which * case we'll need to get the wrapped object struct (H5F_t *, etc.).