aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeal H. Walfield <[email protected]>2015-12-17 11:16:22 +0000
committerNeal H. Walfield <[email protected]>2015-12-22 14:03:49 +0000
commit1cceba163b17b5e9fd7c89e5b40e3d7e1cffc885 (patch)
treecf475f1faa1cda0fc11839c9a1ab7192275b08e7
parentgpg: Remove dead code. (diff)
downloadgnupg-1cceba163b17b5e9fd7c89e5b40e3d7e1cffc885.tar.gz
gnupg-1cceba163b17b5e9fd7c89e5b40e3d7e1cffc885.zip
gpg: Suppress a warning.
* dirmngr/dns-stuff.c (enable_dns_tormode): Reference new_circuit to avoid a warning when ADNS is not available. -- Signed-off-by: Neal H. Walfield <[email protected]>
-rw-r--r--dirmngr/dns-stuff.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/dirmngr/dns-stuff.c b/dirmngr/dns-stuff.c
index 1bf6cfcd9..63dfc8d87 100644
--- a/dirmngr/dns-stuff.c
+++ b/dirmngr/dns-stuff.c
@@ -119,6 +119,8 @@ static char tor_credentials[50];
gpg_error_t
enable_dns_tormode (int new_circuit)
{
+ (void) new_circuit;
+
#if defined(USE_DNS_CERT) && defined(USE_ADNS)
# if HAVE_ADNS_IF_TORMODE
if (!*tor_credentials || new_circuit)