diff options
Diffstat (limited to 'util')
-rw-r--r-- | util/ChangeLog | 1 | ||||
-rw-r--r-- | util/pka.c | 4 |
2 files changed, 2 insertions, 3 deletions
diff --git a/util/ChangeLog b/util/ChangeLog index fabedeecc..506e1f359 100644 --- a/util/ChangeLog +++ b/util/ChangeLog @@ -3,6 +3,7 @@ * pka.c (get_pka_info): Turn ANSWER into a union to avoid aliasing problems with modern compilers. See bug#1307. Reported by Steve Grubb. + (get_pka_info): Remove unused vars. 2010-10-27 Werner Koch <[email protected]> diff --git a/util/pka.c b/util/pka.c index a8e4f9aa3..08c82f1bb 100644 --- a/util/pka.c +++ b/util/pka.c @@ -122,7 +122,7 @@ get_pka_info (const char *address, unsigned char *fpr) HEADER h; } answer; int anslen; - int qdcount, ancount, nscount, arcount; + int qdcount, ancount; int rc; unsigned char *p, *pend; const char *domain; @@ -151,8 +151,6 @@ get_pka_info (const char *address, unsigned char *fpr) qdcount = ntohs (answer.h.qdcount); ancount = ntohs (answer.h.ancount); - nscount = ntohs (answer.h.nscount); - arcount = ntohs (answer.h.arcount); if (!ancount) return NULL; /* Got no answer. */ |