aboutsummaryrefslogtreecommitdiff
path: root/src/util/gnunet-ecc.c
diff options
context:
space:
mode:
authorBart Polot <bart@net.in.tum.de>2014-09-05 16:54:39 +0000
committerBart Polot <bart@net.in.tum.de>2014-09-05 16:54:39 +0000
commit48d736c71c976752cac645c4fa11f19da9e023cf (patch)
tree9babc4e7ac1fb850a60f97d0615165aa82d0f719 /src/util/gnunet-ecc.c
parent2f3fe3f930f2c6088ba2d151943afbc4fbc086ea (diff)
downloadgnunet-48d736c71c976752cac645c4fa11f19da9e023cf.tar.gz
gnunet-48d736c71c976752cac645c4fa11f19da9e023cf.zip
- indentation, fix old(er) gcc compilation warnings "may be uninitialized"
Diffstat (limited to 'src/util/gnunet-ecc.c')
-rw-r--r--src/util/gnunet-ecc.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/util/gnunet-ecc.c b/src/util/gnunet-ecc.c
index deb31e51f..25852dc67 100644
--- a/src/util/gnunet-ecc.c
+++ b/src/util/gnunet-ecc.c
@@ -77,10 +77,7 @@ create_keys (const char *fn, const char *prefix)
77 77
78 if (NULL == (f = fopen (fn, "w+"))) 78 if (NULL == (f = fopen (fn, "w+")))
79 { 79 {
80 fprintf (stderr, 80 fprintf (stderr, _("Failed to open `%s': %s\n"), fn, STRERROR (errno));
81 _("Failed to open `%s': %s\n"),
82 fn,
83 STRERROR (errno));
84 return; 81 return;
85 } 82 }
86 if (NULL != prefix) 83 if (NULL != prefix)
@@ -116,6 +113,8 @@ create_keys (const char *fn, const char *prefix)
116 else 113 else
117 { 114 {
118 fprintf (stderr, _("Generating %u keys, please wait"), make_keys); 115 fprintf (stderr, _("Generating %u keys, please wait"), make_keys);
116 /* Just so old (debian) versions of GCC calm down with the warnings. */
117 n = rest = target_byte = mask = 0;
119 } 118 }
120 119
121 while (0 < make_keys--) 120 while (0 < make_keys--)