aboutsummaryrefslogtreecommitdiffstats
path: root/common/pka.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2011-08-10 12:11:30 +0000
committerWerner Koch <[email protected]>2011-08-10 12:11:30 +0000
commit816bee1fa0d833ac72ea4e7d52465e6e1da2645d (patch)
tree91be759197e74f2e32f821edecce8df6eb444742 /common/pka.c
parentFix autoconf warnings and update config.* files. (diff)
downloadgnupg-816bee1fa0d833ac72ea4e7d52465e6e1da2645d.tar.gz
gnupg-816bee1fa0d833ac72ea4e7d52465e6e1da2645d.zip
Fixed set but unused variable bugs
Diffstat (limited to '')
-rw-r--r--common/pka.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/common/pka.c b/common/pka.c
index 7ac70d9c4..89761f5a5 100644
--- a/common/pka.c
+++ b/common/pka.c
@@ -175,7 +175,7 @@ get_pka_info (const char *address, unsigned char *fpr)
#else /*!USE_ADNS*/
unsigned char answer[PACKETSZ];
int anslen;
- int qdcount, ancount, nscount, arcount;
+ int qdcount, ancount;
int rc;
unsigned char *p, *pend;
const char *domain;
@@ -212,8 +212,6 @@ get_pka_info (const char *address, unsigned char *fpr)
qdcount = ntohs (header.qdcount);
ancount = ntohs (header.ancount);
- nscount = ntohs (header.nscount);
- arcount = ntohs (header.arcount);
if (!ancount)
return NULL; /* Got no answer. */