Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 2 commits into from
Sep 29, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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