aboutsummaryrefslogtreecommitdiffstats
path: root/sm/certreqgen-ui.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2014-09-18 13:17:44 +0000
committerWerner Koch <[email protected]>2014-09-18 13:17:44 +0000
commit34b2e8c7dcb0edb28f99edbd788d73491334e3c0 (patch)
treef93c0a226a16e7b3a25fdf2a2c25a3cf8ea8636c /sm/certreqgen-ui.c
parentgpg: Silence a compiler warning. (diff)
downloadgnupg-34b2e8c7dcb0edb28f99edbd788d73491334e3c0.tar.gz
gnupg-34b2e8c7dcb0edb28f99edbd788d73491334e3c0.zip
sm: Silence compiler warnings.
* sm/certreqgen-ui.c (gpgsm_gencertreq_tty): Remove unused var I. * sm/certreqgen.c (proc_parameters): Init PUBLIC to avoid compiler warning.
Diffstat (limited to 'sm/certreqgen-ui.c')
-rw-r--r--sm/certreqgen-ui.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sm/certreqgen-ui.c b/sm/certreqgen-ui.c
index 368dc5567..3ccd048c7 100644
--- a/sm/certreqgen-ui.c
+++ b/sm/certreqgen-ui.c
@@ -147,7 +147,6 @@ gpgsm_gencertreq_tty (ctrl_t ctrl, estream_t output_stream)
char *subject_name;
membuf_t mb_email, mb_dns, mb_uri, mb_result;
char *result = NULL;
- int i;
const char *s, *s2;
int selfsigned;
@@ -381,7 +380,7 @@ gpgsm_gencertreq_tty (ctrl_t ctrl, estream_t output_stream)
goto mem_error;
tty_printf (_("These parameters are used:\n"));
- for (s=result; (s2 = strchr (s, '\n')); s = s2+1, i++)
+ for (s=result; (s2 = strchr (s, '\n')); s = s2+1)
tty_printf (" %.*s\n", (int)(s2-s), s);
tty_printf ("\n");