summaryrefslogtreecommitdiff
path: root/src/reply.c
diff options
context:
space:
mode:
authorMark Wooding <mdw@distorted.org.uk>2014-05-24 14:00:03 +0100
committerMark Wooding <mdw@distorted.org.uk>2014-06-09 20:58:07 +0100
commitfaa525942b2ca4964c4a020728768368cab85bd5 (patch)
tree28540b5a7d7226a986e112a65f0ca0e6f0948e57 /src/reply.c
parent95bee3e1cb676e462750a8c46cf6439a3e3e6cc0 (diff)
Remove unused variables.
Signed-off-by: Mark Wooding <mdw@distorted.org.uk>
Diffstat (limited to 'src/reply.c')
-rw-r--r--src/reply.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/reply.c b/src/reply.c
index 64b41d7..62384ab 100644
--- a/src/reply.c
+++ b/src/reply.c
@@ -34,7 +34,7 @@ void adns__procdgram(adns_state ads, const byte *dgram, int dglen,
int id, f1, f2, qdcount, ancount, nscount, arcount;
int flg_ra, flg_rd, flg_tc, flg_qr, opcode;
int rrtype, rrclass, rdlength, rdstart;
- int anstart, nsstart, arstart;
+ int anstart, nsstart;
int ownermatched, l, nrrs;
unsigned long ttl, soattl;
const typeinfo *typei;
@@ -157,7 +157,6 @@ void adns__procdgram(adns_state ads, const byte *dgram, int dglen,
* query now. */
anstart= qu->query_dglen;
- arstart= -1;
/* Now, take a look at the answer section, and see if it is complete.
* If it has any CNAMEs we stuff them in the answer.