gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r34281 - gnunet/src/util


From: gnunet
Subject: [GNUnet-SVN] r34281 - gnunet/src/util
Date: Fri, 5 Sep 2014 18:54:39 +0200

Author: bartpolot
Date: 2014-09-05 18:54:39 +0200 (Fri, 05 Sep 2014)
New Revision: 34281

Modified:
   gnunet/src/util/gnunet-ecc.c
Log:
- indentation, fix old(er) gcc compilation warnings "may be uninitialized"

Modified: gnunet/src/util/gnunet-ecc.c
===================================================================
--- gnunet/src/util/gnunet-ecc.c        2014-09-05 16:54:38 UTC (rev 34280)
+++ gnunet/src/util/gnunet-ecc.c        2014-09-05 16:54:39 UTC (rev 34281)
@@ -77,10 +77,7 @@
 
   if (NULL == (f = fopen (fn, "w+")))
   {
-    fprintf (stderr,
-            _("Failed to open `%s': %s\n"),
-            fn,
-            STRERROR (errno));
+    fprintf (stderr, _("Failed to open `%s': %s\n"), fn, STRERROR (errno));
     return;
   }
   if (NULL != prefix)
@@ -116,6 +113,8 @@
   else
   {
     fprintf (stderr, _("Generating %u keys, please wait"), make_keys);
+    /* Just so old (debian) versions of GCC calm down with the warnings. */
+    n = rest = target_byte = mask = 0;
   }
 
   while (0 < make_keys--)




reply via email to

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