mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-11-05 08:28:32 +00:00
aad77fcacb
Fix building unit tests via contrib/ports/unix/check on Debian 9, gcc 6.3.0.
Fixes:
<snip>/ip_addr.h:105:58: error: the comparison will always evaluate as ‘true’ for the address of ‘ip1’ will never be NULL [-Werror=address]
#define IP_SET_TYPE(ipaddr, iptype) do { if((ipaddr) != NULL) { IP_SET_TYPE_VAL(*(ipaddr),iptype); }}while(0)
Signed-off-by: Jacob Kroon <jacob.kroon@gmail.com>
(cherry picked from commit
|
||
---|---|---|
.. | ||
api | ||
arch | ||
core | ||
dhcp | ||
etharp | ||
ip4 | ||
ip6 | ||
mdns | ||
mqtt | ||
tcp | ||
udp | ||
Filelists.cmake | ||
Filelists.mk | ||
lwip_check.h | ||
lwip_unittests.c | ||
lwipopts.h |