From 816bee1fa0d833ac72ea4e7d52465e6e1da2645d Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Wed, 10 Aug 2011 14:11:30 +0200 Subject: Fixed set but unused variable bugs --- common/pka.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'common/pka.c') 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. */ -- cgit v1.2.3