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
|
@ -673,6 +673,7 @@ cmd_let (const char *assign_to, char *arg)
|
|||
static void
|
||||
cmd_echo (const char *assign_to, char *arg)
|
||||
{
|
||||
(void)assign_to;
|
||||
if (!opt_no_echo)
|
||||
printf ("%s\n", arg);
|
||||
}
|
||||
|
@ -680,6 +681,7 @@ cmd_echo (const char *assign_to, char *arg)
|
|||
static void
|
||||
cmd_send (const char *assign_to, char *arg)
|
||||
{
|
||||
(void)assign_to;
|
||||
if (opt_verbose)
|
||||
fprintf (stderr, "sending `%s'\n", arg);
|
||||
write_assuan (server_send_fd, arg);
|
||||
|
@ -706,6 +708,9 @@ handle_status_line (char *arg)
|
|||
static void
|
||||
cmd_expect_ok (const char *assign_to, char *arg)
|
||||
{
|
||||
(void)assign_to;
|
||||
(void)arg;
|
||||
|
||||
if (opt_verbose)
|
||||
fprintf (stderr, "expecting OK\n");
|
||||
do
|
||||
|
@ -724,6 +729,9 @@ cmd_expect_ok (const char *assign_to, char *arg)
|
|||
static void
|
||||
cmd_expect_err (const char *assign_to, char *arg)
|
||||
{
|
||||
(void)assign_to;
|
||||
(void)arg;
|
||||
|
||||
if (opt_verbose)
|
||||
fprintf (stderr, "expecting ERR\n");
|
||||
do
|
||||
|
@ -795,6 +803,8 @@ cmd_createfile (const char *assign_to, char *arg)
|
|||
static void
|
||||
cmd_pipeserver (const char *assign_to, char *arg)
|
||||
{
|
||||
(void)assign_to;
|
||||
|
||||
if (!*arg)
|
||||
die ("syntax error: servername missing");
|
||||
|
||||
|
@ -805,6 +815,8 @@ cmd_pipeserver (const char *assign_to, char *arg)
|
|||
static void
|
||||
cmd_quit_if(const char *assign_to, char *arg)
|
||||
{
|
||||
(void)assign_to;
|
||||
|
||||
if (eval_boolean (arg))
|
||||
exit (0);
|
||||
}
|
||||
|
@ -812,6 +824,8 @@ cmd_quit_if(const char *assign_to, char *arg)
|
|||
static void
|
||||
cmd_fail_if(const char *assign_to, char *arg)
|
||||
{
|
||||
(void)assign_to;
|
||||
|
||||
if (eval_boolean (arg))
|
||||
exit (1);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue