Skip to content

Commit

Permalink
Fixed unused variable in H5CS.c (#3552) (#3612)
Browse files Browse the repository at this point in the history
* Fixed #3552
  • Loading branch information
bmribler authored Sep 29, 2023
1 parent e736039 commit 55c6609
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions src/H5CS.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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

Expand Down

0 comments on commit 55c6609

Please sign in to comment.