summaryrefslogtreecommitdiffstats
path: root/agent
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2016-06-08 15:14:06 +0200
committerWerner Koch <wk@gnupg.org>2016-06-08 15:14:06 +0200
commit6790115fd9059e066b4e6feb6b1e3876a1c1d522 (patch)
tree3414616ce89a45ee0acc98ef2e8e4f8e59dc2f7c /agent
parentgpgconf: New commands --create-socketdir and --remove-socketdir. (diff)
downloadgnupg2-6790115fd9059e066b4e6feb6b1e3876a1c1d522.tar.xz
gnupg2-6790115fd9059e066b4e6feb6b1e3876a1c1d522.zip
w32: Fix recent build regression.
* common/homedir.c (_gnupg_socketdir_internal) [W32]: Add definition for NAME. * g10/gpg.c (main) [W32]: Fix use og gnupg_homedir. * agent/gpg-agent.c (remove_socket): Remove unused var P. * scd/scdaemon.c (cleanup): Ditto. Signed-off-by: Werner Koch <wk@gnupg.org>
Diffstat (limited to 'agent')
-rw-r--r--agent/gpg-agent.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/agent/gpg-agent.c b/agent/gpg-agent.c
index d140ba5d9..538ff0874 100644
--- a/agent/gpg-agent.c
+++ b/agent/gpg-agent.c
@@ -555,8 +555,6 @@ remove_socket (char *name, char *redir_name)
{
if (name && *name)
{
- char *p;
-
if (redir_name)
name = redir_name;