aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ares/adig.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ares/adig.c b/ares/adig.c
index 706a1b26e..85cea0a11 100644
--- a/ares/adig.c
+++ b/ares/adig.c
@@ -282,8 +282,8 @@ int main(int argc, char **argv)
static void callback(void *arg, int status, unsigned char *abuf, int alen)
{
char *name = (char *) arg, *errmem;
- int id, qr, opcode, aa, tc, rd, ra, rcode, i;
- unsigned int qdcount, ancount, nscount, arcount;
+ int id, qr, opcode, aa, tc, rd, ra, rcode;
+ unsigned int qdcount, ancount, nscount, arcount, i;
const unsigned char *aptr;
/* Display the query name if given. */