summaryrefslogtreecommitdiffstats
path: root/sm/server.c
diff options
context:
space:
mode:
Diffstat (limited to 'sm/server.c')
-rw-r--r--sm/server.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/sm/server.c b/sm/server.c
index cd2b9f69a..9b0a04f18 100644
--- a/sm/server.c
+++ b/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);