aboutsummaryrefslogtreecommitdiffstats
path: root/agent/gpg-agent.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2014-03-07 08:46:44 +0000
committerWerner Koch <[email protected]>2014-03-07 15:11:15 +0000
commit094aa2589e3920d400be93ae2823a6c4b23db623 (patch)
tree9e00935c719c1625eeb10b2da6e03b24801d25d1 /agent/gpg-agent.c
parentw32: Fix a potential problem in gpgconf's gettext. (diff)
downloadgnupg-094aa2589e3920d400be93ae2823a6c4b23db623.tar.gz
gnupg-094aa2589e3920d400be93ae2823a6c4b23db623.zip
w32: Silence warnings about unused vars.
* agent/gpg-agent.c (main) [W32]: Mark unused vars. * sm/gpgsm.c (run_protect_tool) [W32]: Ditto. * g10/trustdb.c (check_regexp) [DISABLE_REGEX]: Ditto. * scd/scdaemon.c (main) [W32]: Ditto. (handle_connections) [W32]: Ditto. (handle_signal) [W32]: Do not build the function at all. * scd/apdu.c (pcsc_send_apdu_direct): Ditto. (connect_pcsc_card): s/long/pcsc_dword_t/. (open_pcsc_reader_direct): Remove var listlen.
Diffstat (limited to '')
-rw-r--r--agent/gpg-agent.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/agent/gpg-agent.c b/agent/gpg-agent.c
index 87915d67e..5554d3f28 100644
--- a/agent/gpg-agent.c
+++ b/agent/gpg-agent.c
@@ -1108,6 +1108,9 @@ main (int argc, char **argv )
fflush (NULL);
#ifdef HAVE_W32_SYSTEM
+ (void)csh_style;
+ (void)nodetach;
+ (void)env_file_name;
pid = getpid ();
es_printf ("set %s=%s;%lu;1\n",
GPG_AGENT_INFO_NAME, socket_name, (ulong)pid);