aboutsummaryrefslogtreecommitdiff
path: root/src/crypto/groestl.c
diff options
context:
space:
mode:
authorroman <roman@llll.de>2015-08-23 17:59:24 +0200
committerroman <roman@llll.de>2015-08-23 17:59:24 +0200
commit59cc92b388a5cf7d25db3eb62d01f18f34c66e9e (patch)
tree43c26493193f396354d3d34e8b8b2a34a394f4c8 /src/crypto/groestl.c
parentMerge pull request #379 (diff)
downloadmonero-59cc92b388a5cf7d25db3eb62d01f18f34c66e9e.tar.xz
removed some gcc warnings. mainly unused variables.
Diffstat (limited to '')
-rw-r--r--src/crypto/groestl.c3
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;
}