diff options
author | bmribler <39579120+bmribler@users.noreply.github.com> | 2023-09-29 00:33:53 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-29 00:33:53 (GMT) |
commit | 55c660912757b2c2dc9075592437bcf821f5f30d (patch) | |
tree | b98b175fdfbd822e4cc363d98da053f844f9ff77 /src/H5CS.c | |
parent | e7360391fd958296f596f5c8397ba53064219ca0 (diff) | |
download | hdf5-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.c | 9 |
1 files changed, 3 insertions, 6 deletions
@@ -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 |