From: Christian Grothoff Date: Sat, 5 Oct 2019 12:45:20 +0000 (+0200) Subject: reduce scope X-Git-Tag: v0.11.7~98 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=8c52967c1ca5eff4aeb6e4452b8958b73240b133;p=oweals%2Fgnunet.git reduce scope --- diff --git a/src/util/crypto_ecc.c b/src/util/crypto_ecc.c index 9d141be2c..fed7c9ece 100644 --- a/src/util/crypto_ecc.c +++ b/src/util/crypto_ecc.c @@ -81,7 +81,6 @@ key_from_sexp(gcry_mpi_t *array, { gcry_sexp_t list; gcry_sexp_t l2; - const char *s; unsigned int idx; list = gcry_sexp_find_token(sexp, topname, 0); @@ -94,7 +93,7 @@ key_from_sexp(gcry_mpi_t *array, return 2; idx = 0; - for (s = elems; *s; s++, idx++) + for (const char *s = elems; *s; s++, idx++) { l2 = gcry_sexp_find_token(list, s, 1); if (!l2)