aboutsummaryrefslogtreecommitdiffstats
path: root/common/exechelp.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--common/exechelp.c6
1 files changed, 5 insertions, 1 deletions
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 ();