make sure 'err' is initialized on all error paths
authorChristian Grothoff <christian@grothoff.org>
Fri, 10 Mar 2017 16:11:56 +0000 (17:11 +0100)
committerChristian Grothoff <christian@grothoff.org>
Fri, 10 Mar 2017 16:11:56 +0000 (17:11 +0100)
src/util/service_new.c

index 22eec0bde1c08bd37dd67b84fdd959a4f65a7282..5b3a332ac94647ef2dc412c6ac1afc2a577318d0 100644 (file)
@@ -1733,6 +1733,7 @@ GNUNET_SERVICE_ruN_ (int argc,
     GNUNET_GETOPT_OPTION_END
   };
 
+  err = 1;
   memset (&sh,
          0,
          sizeof (sh));