From a9a7d7c29d5e8d46ca403a24f294e1f289dda1c9 Mon Sep 17 00:00:00 2001 From: Jordan Henderson Date: Fri, 5 Dec 2025 11:58:15 -0600 Subject: [PATCH] Fix issue with declaration after label --- src/h5_async_vol.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/h5_async_vol.c b/src/h5_async_vol.c index fea0436..938b00a 100644 --- a/src/h5_async_vol.c +++ b/src/h5_async_vol.c @@ -22689,6 +22689,7 @@ H5VL_async_request_wait(void *obj, uint64_t timeout, H5VL_request_status_t *stat unsigned int mutex_count = 0; hbool_t tmp = async_instance_g->start_abt_push; ABT_pool * pool_ptr = NULL; + int tmp_cnt = 0; assert(obj); assert(status); @@ -22816,8 +22817,6 @@ H5VL_async_request_wait(void *obj, uint64_t timeout, H5VL_request_status_t *stat async_instance_g->start_abt_push = tmp; done: - - int tmp_cnt = 0; while (false == acquired && mutex_count > 0) { func_log_int1(__func__, "trying to acquire global lock, count", mutex_count); if (H5TSmutex_acquire(mutex_count, &acquired) < 0)