Fixed unused variable in H5CS.c (#3552) (#3612)

* Fixed #3552
This commit is contained in:
bmribler 2023-09-28 20:33:53 -04:00 committed by GitHub
parent e7360391fd
commit 55c6609127
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -228,10 +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 */
unsigned u; /* Local index variable */
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
@ -270,8 +269,6 @@ done:
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