mirror of
git://git.gnupg.org/gnupg.git
synced 2025-01-08 12:44:23 +01:00
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.
This commit is contained in:
parent
6a0c3fa19c
commit
34b2e8c7dc
@ -147,7 +147,6 @@ gpgsm_gencertreq_tty (ctrl_t ctrl, estream_t output_stream)
|
|||||||
char *subject_name;
|
char *subject_name;
|
||||||
membuf_t mb_email, mb_dns, mb_uri, mb_result;
|
membuf_t mb_email, mb_dns, mb_uri, mb_result;
|
||||||
char *result = NULL;
|
char *result = NULL;
|
||||||
int i;
|
|
||||||
const char *s, *s2;
|
const char *s, *s2;
|
||||||
int selfsigned;
|
int selfsigned;
|
||||||
|
|
||||||
@ -381,7 +380,7 @@ gpgsm_gencertreq_tty (ctrl_t ctrl, estream_t output_stream)
|
|||||||
goto mem_error;
|
goto mem_error;
|
||||||
|
|
||||||
tty_printf (_("These parameters are used:\n"));
|
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 (" %.*s\n", (int)(s2-s), s);
|
||||||
tty_printf ("\n");
|
tty_printf ("\n");
|
||||||
|
|
||||||
|
@ -437,7 +437,7 @@ proc_parameters (ctrl_t ctrl, struct para_data_s *para,
|
|||||||
char numbuf[20];
|
char numbuf[20];
|
||||||
unsigned char keyparms[100];
|
unsigned char keyparms[100];
|
||||||
int rc = 0;
|
int rc = 0;
|
||||||
ksba_sexp_t public;
|
ksba_sexp_t public = NULL;
|
||||||
ksba_sexp_t sigkey = NULL;
|
ksba_sexp_t sigkey = NULL;
|
||||||
int seq;
|
int seq;
|
||||||
size_t erroff, errlen;
|
size_t erroff, errlen;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user