gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [gnunet] 03/28: make sure 'err' is initialized on all error


From: gnunet
Subject: [GNUnet-SVN] [gnunet] 03/28: make sure 'err' is initialized on all error paths
Date: Fri, 10 Mar 2017 18:18:47 +0100

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

grothoff pushed a commit to branch master
in repository gnunet.

commit adc35f6e82c099c1906d3fbbd2b4444b77a48e26
Author: Christian Grothoff <address@hidden>
AuthorDate: Fri Mar 10 17:11:56 2017 +0100

    make sure 'err' is initialized on all error paths
---
 src/util/service_new.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/util/service_new.c b/src/util/service_new.c
index 22eec0bde..5b3a332ac 100644
--- a/src/util/service_new.c
+++ b/src/util/service_new.c
@@ -1733,6 +1733,7 @@ GNUNET_SERVICE_ruN_ (int argc,
     GNUNET_GETOPT_OPTION_END
   };
 
+  err = 1;
   memset (&sh,
          0,
          sizeof (sh));

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



reply via email to

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