diff options
author | roman <roman@llll.de> | 2015-08-23 17:59:24 +0200 |
---|---|---|
committer | roman <roman@llll.de> | 2015-08-23 17:59:24 +0200 |
commit | 59cc92b388a5cf7d25db3eb62d01f18f34c66e9e (patch) | |
tree | 43c26493193f396354d3d34e8b8b2a34a394f4c8 /src/crypto/groestl.c | |
parent | Merge pull request #379 (diff) | |
download | monero-59cc92b388a5cf7d25db3eb62d01f18f34c66e9e.tar.xz |
removed some gcc warnings. mainly unused variables.
Diffstat (limited to '')
-rw-r--r-- | src/crypto/groestl.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/crypto/groestl.c b/src/crypto/groestl.c index e1c89cc3b..84bfb2947 100644 --- a/src/crypto/groestl.c +++ b/src/crypto/groestl.c @@ -204,10 +204,9 @@ static void OutputTransformation(hashState *ctx) { /* initialise context */ static void Init(hashState* ctx) { - int i = 0; /* allocate memory for state and data buffer */ - for(;i<(SIZE512/sizeof(uint32_t));i++) + for(unsigned i = 0; i < (SIZE512/sizeof(uint32_t)); i++) { ctx->chaining[i] = 0; } |