mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +02:00
Marked all unused args on non-W32 platforms.
This commit is contained in:
parent
e1f4154d75
commit
0a5f742466
84 changed files with 864 additions and 224 deletions
10
sm/server.c
10
sm/server.c
|
@ -465,6 +465,8 @@ cmd_encrypt (assuan_context_t ctx, char *line)
|
|||
FILE *out_fp;
|
||||
int rc;
|
||||
|
||||
(void)line;
|
||||
|
||||
inp_fd = translate_sys2libc_fd (assuan_get_input_fd (ctx), 0);
|
||||
if (inp_fd == -1)
|
||||
return set_error (GPG_ERR_ASS_NO_INPUT, NULL);
|
||||
|
@ -519,6 +521,8 @@ cmd_decrypt (assuan_context_t ctx, char *line)
|
|||
FILE *out_fp;
|
||||
int rc;
|
||||
|
||||
(void)line;
|
||||
|
||||
inp_fd = translate_sys2libc_fd (assuan_get_input_fd (ctx), 0);
|
||||
if (inp_fd == -1)
|
||||
return set_error (GPG_ERR_ASS_NO_INPUT, NULL);
|
||||
|
@ -562,6 +566,8 @@ cmd_verify (assuan_context_t ctx, char *line)
|
|||
int out_fd = translate_sys2libc_fd (assuan_get_output_fd (ctx), 1);
|
||||
FILE *out_fp = NULL;
|
||||
|
||||
(void)line;
|
||||
|
||||
if (fd == -1)
|
||||
return set_error (GPG_ERR_ASS_NO_INPUT, NULL);
|
||||
|
||||
|
@ -643,6 +649,8 @@ cmd_import (assuan_context_t ctx, char *line)
|
|||
int rc;
|
||||
int fd = translate_sys2libc_fd (assuan_get_input_fd (ctx), 0);
|
||||
|
||||
(void)line;
|
||||
|
||||
if (fd == -1)
|
||||
return set_error (GPG_ERR_ASS_NO_INPUT, NULL);
|
||||
|
||||
|
@ -922,6 +930,8 @@ cmd_genkey (assuan_context_t ctx, char *line)
|
|||
int rc;
|
||||
estream_t in_stream;
|
||||
|
||||
(void)line;
|
||||
|
||||
inp_fd = translate_sys2libc_fd (assuan_get_input_fd (ctx), 0);
|
||||
if (inp_fd == -1)
|
||||
return set_error (GPG_ERR_ASS_NO_INPUT, NULL);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue