From 318ba1decdc6ab35d52bef8f07808995ce4933a9 Mon Sep 17 00:00:00 2001 From: Sylvain Rochet Date: Sun, 6 Sep 2015 11:27:33 +0200 Subject: [PATCH] dns: fixed trivial compiler warning lwip/src/core/dns.c:1471:8: warning: extra tokens at end of #endif directive [-Wendif-labels] #endif LWIP_IPV4 && LWIP_IPV6 --- src/core/dns.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/dns.c b/src/core/dns.c index 967fca4a..f66819a6 100644 --- a/src/core/dns.c +++ b/src/core/dns.c @@ -1468,7 +1468,7 @@ dns_gethostbyname_addrtype(const char *hostname, ip_addr_t *addr, dns_found_call #if LWIP_IPV4 && LWIP_IPV6 if ((IP_IS_V6(addr) && (dns_addrtype != LWIP_DNS_ADDRTYPE_IPV4)) || !(IP_IS_V6(addr) && (dns_addrtype != LWIP_DNS_ADDRTYPE_IPV6))) -#endif LWIP_IPV4 && LWIP_IPV6 +#endif /* LWIP_IPV4 && LWIP_IPV6 */ { return ERR_OK; }