mirror of https://github.com/ARMmbed/mbed-os.git
GCC will issue a warning when the ip_addr_isany() macro is used on
a pointer which can never be NULL since the macros NULL check will
always be false:
#define ip_addr_isany(addr1) ((addr1) == NULL || \
(addr1)->addr == IPADDR_ANY)
In these cases, it is probably clearer to just perform the
x.addr == IPADDR_ANY check inline.
|
||
|---|---|---|
| .. | ||
| autoip.c | ||
| icmp.c | ||
| igmp.c | ||
| inet.c | ||
| inet_chksum.c | ||
| ip.c | ||
| ip_addr.c | ||
| ip_frag.c | ||