mirror of
https://github.com/apache/nuttx.git
synced 2026-08-20 21:18:23 +00:00
devif/ipv4_input.c: In function ‘ipv4_in’:
devif/ipv4_input.c:305:15: warning: declaration of ‘ret’ shadows a previous local [-Wshadow]
305 | int ret = ipv4_forward(dev, ipv4);
| ^~~
devif/ipv4_input.c:151:7: note: shadowed declaration is here
151 | int ret = OK;
| ^~~
Signed-off-by: chao an <anchao@xiaomi.com>
|
||
|---|---|---|
| .. | ||
| devif.h | ||
| devif_callback.c | ||
| devif_cansend.c | ||
| devif_forward.c | ||
| devif_initialize.c | ||
| devif_iobsend.c | ||
| devif_loopback.c | ||
| devif_pktsend.c | ||
| devif_poll.c | ||
| devif_send.c | ||
| ipv4_input.c | ||
| ipv6_input.c | ||
| Make.defs | ||