summaryrefslogtreecommitdiffstats
path: root/src/H5CS.c
diff options
context:
space:
mode:
authorbmribler <39579120+bmribler@users.noreply.github.com>2023-09-29 00:33:53 (GMT)
committerGitHub <noreply@github.com>2023-09-29 00:33:53 (GMT)
commit55c660912757b2c2dc9075592437bcf821f5f30d (patch)
treeb98b175fdfbd822e4cc363d98da053f844f9ff77 /src/H5CS.c
parente7360391fd958296f596f5c8397ba53064219ca0 (diff)
downloadhdf5-55c660912757b2c2dc9075592437bcf821f5f30d.zip
hdf5-55c660912757b2c2dc9075592437bcf821f5f30d.tar.gz
hdf5-55c660912757b2c2dc9075592437bcf821f5f30d.tar.bz2
Fixed unused variable in H5CS.c (#3552) (#3612)
* Fixed #3552
Diffstat (limited to 'src/H5CS.c')
-rw-r--r--src/H5CS.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/H5CS.c b/src/H5CS.c
index 3e5b6b8..3728273 100644
--- a/src/H5CS.c
+++ b/src/H5CS.c
@@ -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