[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [gnunet] 02/02: style fix
From: |
gnunet |
Subject: |
[GNUnet-SVN] [gnunet] 02/02: style fix |
Date: |
Sat, 05 Oct 2019 14:45:39 +0200 |
This is an automated email from the git hooks/post-receive script.
grothoff pushed a commit to branch master
in repository gnunet.
commit a16f6b613a10ed23099344611ff26844641fbee6
Author: Christian Grothoff <address@hidden>
AuthorDate: Sat Oct 5 14:43:15 2019 +0200
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;
--
To stop receiving notification emails like this one, please contact
address@hidden.