Skip to content

Commit

Permalink
Fix groestl.c warning: variable ‘buf’ set but not used
Browse files Browse the repository at this point in the history
  • Loading branch information
noise23 committed Aug 19, 2018
1 parent 3fc3618 commit d00c55e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/groestl.c
Expand Up @@ -2813,7 +2813,7 @@ static void
groestl_small_close(sph_groestl_small_context *sc,
unsigned ub, unsigned n, void *dst, size_t out_len)
{
unsigned char *buf;
unsigned char *__attribute__((unused)) buf;
unsigned char pad[72];
size_t u, ptr, pad_len;
#if SPH_64
Expand Down Expand Up @@ -2949,7 +2949,7 @@ static void
groestl_big_close(sph_groestl_big_context *sc,
unsigned ub, unsigned n, void *dst, size_t out_len)
{
unsigned char *buf;
unsigned char *__attribute__((unused)) buf;
unsigned char pad[136];
size_t ptr, pad_len, u;
#if SPH_64
Expand Down

0 comments on commit d00c55e

Please sign in to comment.