mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-08-25 15:42:56 +00:00
dns.c: fixed compiler warning
This commit is contained in:
parent
7263cc675b
commit
d104335501
@ -836,8 +836,9 @@ dns_alloc_pcb(void)
|
|||||||
static void
|
static void
|
||||||
dns_call_found(u8_t idx, ip_addr_t* addr)
|
dns_call_found(u8_t idx, ip_addr_t* addr)
|
||||||
{
|
{
|
||||||
|
#if ((LWIP_DNS_SECURE & (LWIP_DNS_SECURE_NO_MULTIPLE_OUTSTANDING | LWIP_DNS_SECURE_RAND_SRC_PORT)) != 0)
|
||||||
u8_t i;
|
u8_t i;
|
||||||
LWIP_UNUSED_ARG(i);
|
#endif
|
||||||
|
|
||||||
#if ((LWIP_DNS_SECURE & LWIP_DNS_SECURE_NO_MULTIPLE_OUTSTANDING) != 0)
|
#if ((LWIP_DNS_SECURE & LWIP_DNS_SECURE_NO_MULTIPLE_OUTSTANDING) != 0)
|
||||||
for (i = 0; i < DNS_MAX_REQUESTS; i++) {
|
for (i = 0; i < DNS_MAX_REQUESTS; i++) {
|
||||||
|
Loading…
Reference in New Issue
Block a user