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