From de7fe89bec69c91ee8016bb5daf886f25ee9137b Mon Sep 17 00:00:00 2001 From: Binh-Minh Ribler <bmribler@hdfgroup.org> Date: Thu, 28 Sep 2023 00:47:04 -0500 Subject: [PATCH 1/2] Fixed GH-3552 --- src/H5CS.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/H5CS.c b/src/H5CS.c index 3e5b6b8401c..5175f7794ad 100644 --- a/src/H5CS.c +++ b/src/H5CS.c @@ -230,7 +230,6 @@ H5CS_copy_stack(void) { H5CS_t *old_stack = H5CS_get_my_stack(); /* Existing function stack for library */ H5CS_t *new_stack; /* New function stack, for copy */ - unsigned u; /* Local index variable */ H5CS_t *ret_value = NULL; /* Return value */ /* Don't push this function on the function stack... :-) */ @@ -270,8 +269,6 @@ H5CS_copy_stack(void) herr_t H5CS_close_stack(H5CS_t *stack) { - unsigned u; /* Local index variable */ - /* Don't push this function on the function stack... :-) */ FUNC_ENTER_NOAPI_NOERR_NOFS From 822398573a67a875d82eb9ea1741690443635d13 Mon Sep 17 00:00:00 2001 From: github-actions <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 28 Sep 2023 05:49:54 +0000 Subject: [PATCH 2/2] Committing clang-format changes --- src/H5CS.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/H5CS.c b/src/H5CS.c index 5175f7794ad..3728273ea2a 100644 --- a/src/H5CS.c +++ b/src/H5CS.c @@ -228,9 +228,9 @@ H5CS_pop(void) H5CS_t * H5CS_copy_stack(void) { - H5CS_t *old_stack = H5CS_get_my_stack(); /* Existing function stack for library */ - H5CS_t *new_stack; /* New function stack, for copy */ - H5CS_t *ret_value = NULL; /* Return value */ + H5CS_t *old_stack = H5CS_get_my_stack(); /* Existing function stack for library */ + H5CS_t *new_stack; /* New function stack, for copy */ + H5CS_t *ret_value = NULL; /* Return value */ /* Don't push this function on the function stack... :-) */ FUNC_ENTER_NOAPI_NOFS