mirror of
https://github.com/pi-hole/dnsmasq.git
synced 2025-12-19 10:18:25 +00:00
Fix compiler warning.
This commit is contained in:
@@ -463,6 +463,8 @@ static int find_soa(struct dns_header *header, size_t qlen, char *name, int *sub
|
||||
size_t name_len, soa_len, len;
|
||||
union all_addr addr;
|
||||
|
||||
(void)secure; /* warning */
|
||||
|
||||
/* first move to NS section and find TTL from SOA RR */
|
||||
if (!(p = skip_questions(header, qlen)) ||
|
||||
!(p = skip_section(p, ntohs(header->ancount), header, qlen)))
|
||||
|
||||
Reference in New Issue
Block a user