summaryrefslogtreecommitdiffstats
path: root/agent
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2014-12-01 09:49:16 +0100
committerWerner Koch <wk@gnupg.org>2014-12-01 09:49:16 +0100
commitcdd451d5c2bdd7e157edfee6e9b2b327a86ddeae (patch)
tree25f449ad8cd117f933a599886205e67a7b9b344c /agent
parentagent: Implement socket redirection. (diff)
downloadgnupg2-cdd451d5c2bdd7e157edfee6e9b2b327a86ddeae.tar.xz
gnupg2-cdd451d5c2bdd7e157edfee6e9b2b327a86ddeae.zip
agent: Fix compile problem for old Libassuan.
--
Diffstat (limited to 'agent')
-rw-r--r--agent/gpg-agent.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/agent/gpg-agent.c b/agent/gpg-agent.c
index 3ad2c1d59..7576cf93c 100644
--- a/agent/gpg-agent.c
+++ b/agent/gpg-agent.c
@@ -1574,7 +1574,6 @@ create_server_socket (char *name, int primary,
}
}
#else /* Assuan < 2.1.4 */
- redirected = 0;
memset (unaddr, 0, sizeof *unaddr);
unaddr->sun_family = AF_UNIX;
if (strlen (name) + 1 >= sizeof (unaddr->sun_path))