diff --git a/src/or/dns.c b/src/or/dns.c index 4279c6d09b..5d12dec96d 100644 --- a/src/or/dns.c +++ b/src/or/dns.c @@ -1576,6 +1576,7 @@ eventdns_wildcard_check_callback(int result, char type, int count, int ttl, void *addresses, void *arg) { static int notice_given = 0; + (void)ttl; if (result == DNS_ERR_NONE && type == DNS_IPv4_A && count) { uint32_t *addrs = addresses; int i;