[Pkg-gnupg-commit] [gnupg2] 52/159: gpg: Suppress a warning.

Daniel Kahn Gillmor dkg at fifthhorseman.net
Wed Jan 27 13:23:53 UTC 2016


This is an automated email from the git hooks/post-receive script.

dkg pushed a commit to branch master
in repository gnupg2.

commit 1cceba163b17b5e9fd7c89e5b40e3d7e1cffc885
Author: Neal H. Walfield <neal at g10code.com>
Date:   Thu Dec 17 12:16:22 2015 +0100

    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 <neal at g10code.com>
---
 dirmngr/dns-stuff.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/dirmngr/dns-stuff.c b/dirmngr/dns-stuff.c
index 1bf6cfc..63dfc8d 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)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-gnupg/gnupg2.git



More information about the Pkg-gnupg-commit mailing list