mirror of
https://github.com/apache/nuttx.git
synced 2026-08-04 13:49:06 +00:00
igmp/igmp_input.c: In function 'igmp_input':
igmp/igmp_input.c:201:31: warning: the comparison will always evaluate as 'false' for the address of 'grpaddr' will never be NULL [-Waddress]
201 | if (igmp->grpaddr == 0)
| ^~
In file included from nuttx/include/nuttx/net/netstats.h:67,
from igmp/igmp_input.c:53:
nuttx/include/nuttx/net/igmp.h:132:12: note: 'grpaddr' declared here
132 | uint16_t grpaddr[2]; /* 32-bit Group address */
| ^~~~~~~
Signed-off-by: chao an <anchao@xiaomi.com>
|
||
|---|---|---|
| .. | ||
| igmp.h | ||
| igmp_group.c | ||
| igmp_initialize.c | ||
| igmp_input.c | ||
| igmp_join.c | ||
| igmp_leave.c | ||
| igmp_mcastmac.c | ||
| igmp_msg.c | ||
| igmp_poll.c | ||
| igmp_send.c | ||
| igmp_timer.c | ||
| Kconfig | ||
| Make.defs | ||