From: Christian Grothoff Date: Sat, 5 Oct 2019 12:43:15 +0000 (+0200) Subject: style fix X-Git-Tag: v0.11.7~100 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=a16f6b613a10ed23099344611ff26844641fbee6;p=oweals%2Fgnunet.git style fix --- diff --git a/src/util/crypto_ecc.c b/src/util/crypto_ecc.c index d954dfd98..9d141be2c 100644 --- a/src/util/crypto_ecc.c +++ b/src/util/crypto_ecc.c @@ -82,7 +82,6 @@ key_from_sexp(gcry_mpi_t *array, gcry_sexp_t list; gcry_sexp_t l2; const char *s; - unsigned int i; unsigned int idx; list = gcry_sexp_find_token(sexp, topname, 0); @@ -100,7 +99,7 @@ key_from_sexp(gcry_mpi_t *array, l2 = gcry_sexp_find_token(list, s, 1); if (!l2) { - for (i = 0; i < idx; i++) + for (unsigned int i = 0; i < idx; i++) { gcry_free(array[i]); array[i] = NULL; @@ -112,7 +111,7 @@ key_from_sexp(gcry_mpi_t *array, gcry_sexp_release(l2); if (!array[idx]) { - for (i = 0; i < idx; i++) + for (unsigned int i = 0; i < idx; i++) { gcry_free(array[i]); array[i] = NULL;