gnunet-svn
[Top][All Lists]
Advanced

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

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


From: gnunet
Subject: [GNUnet-SVN] [gnunet] 03/05: reduce scope
Date: Sat, 05 Oct 2019 15:04:23 +0200

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

grothoff pushed a commit to branch master
in repository gnunet.

commit 968e36dc35477016d182add48ce37002dc187ff2
Author: Christian Grothoff <address@hidden>
AuthorDate: Sat Oct 5 15:00:11 2019 +0200

    reduce scope
---
 src/util/configuration.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/util/configuration.c b/src/util/configuration.c
index 14fff9844..6d72d4fe0 100644
--- a/src/util/configuration.c
+++ b/src/util/configuration.c
@@ -427,7 +427,6 @@ GNUNET_CONFIGURATION_serialize(const struct 
GNUNET_CONFIGURATION_Handle *cfg,
   char *cbuf;
   char *val;
   char *pos;
-  int len;
   size_t m_size;
   size_t c_size;
 
@@ -464,6 +463,8 @@ GNUNET_CONFIGURATION_serialize(const struct 
GNUNET_CONFIGURATION_Handle *cfg,
   *size = c_size;
   while (NULL != sec)
     {
+      int len;
+
       len = GNUNET_asprintf(&cbuf, "[%s]\n", sec->name);
       GNUNET_assert(0 < len);
       GNUNET_memcpy(mem + c_size, cbuf, len);

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



reply via email to

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