diff options
author | Bart Polot <bart@net.in.tum.de> | 2014-09-05 16:54:39 +0000 |
---|---|---|
committer | Bart Polot <bart@net.in.tum.de> | 2014-09-05 16:54:39 +0000 |
commit | 48d736c71c976752cac645c4fa11f19da9e023cf (patch) | |
tree | 9babc4e7ac1fb850a60f97d0615165aa82d0f719 | |
parent | 2f3fe3f930f2c6088ba2d151943afbc4fbc086ea (diff) | |
download | gnunet-48d736c71c976752cac645c4fa11f19da9e023cf.tar.gz gnunet-48d736c71c976752cac645c4fa11f19da9e023cf.zip |
- indentation, fix old(er) gcc compilation warnings "may be uninitialized"
-rw-r--r-- | src/util/gnunet-ecc.c | 7 |
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--) |