From 0a5f7424660e404e5fd0361b9331d154acf01d6c Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Mon, 20 Oct 2008 13:53:23 +0000 Subject: Marked all unused args on non-W32 platforms. --- common/exechelp.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'common/exechelp.c') diff --git a/common/exechelp.c b/common/exechelp.c index dcbbe90b0..2246c78ea 100644 --- a/common/exechelp.c +++ b/common/exechelp.c @@ -351,6 +351,8 @@ gnupg_spawn_process (const char *pgmname, const char *argv[], char *cmdline; int fd, fdout, rp[2]; + (void)preexec; + /* Setup return values. */ *statusfile = NULL; *pid = (pid_t)(-1); @@ -452,6 +454,8 @@ gnupg_spawn_process (const char *pgmname, const char *argv[], gpg_error_t err; int fd, fdout, rp[2]; + (void)flags; /* Currently not used. */ + *statusfile = NULL; *pid = (pid_t)(-1); fflush (infile); @@ -767,7 +771,7 @@ gnupg_spawn_process_detached (const char *pgmname, const char *argv[], to pass the GPG_AGENT_INFO variable to gpg-agent. As the default on windows is to use a standard socket, this does not really matter. */ - + (void)envp; if (access (pgmname, X_OK)) return gpg_error_from_syserror (); -- cgit v1.2.3