From a16f6b613a10ed23099344611ff26844641fbee6 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sat, 5 Oct 2019 14:43:15 +0200 Subject: [PATCH] style fix --- src/util/crypto_ecc.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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; -- 2.25.1