gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [gnunet] 02/05: reduce scope


From: gnunet
Subject: [GNUnet-SVN] [gnunet] 02/05: reduce scope
Date: Sat, 05 Oct 2019 14:59:05 +0200

This is an automated email from the git hooks/post-receive script.

grothoff pushed a commit to branch master
in repository gnunet.

commit 8c52967c1ca5eff4aeb6e4452b8958b73240b133
Author: Christian Grothoff <address@hidden>
AuthorDate: Sat Oct 5 14:45:20 2019 +0200

    reduce scope
---
 src/util/crypto_ecc.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

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)

-- 
To stop receiving notification emails like this one, please contact
address@hidden.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]