mirror of
https://github.com/apache/nuttx.git
synced 2026-08-07 05:27:17 +00:00
1.
net/slip.c:865:29: warning: unused variable ‘priv’ [-Wunused-variable]
865 | FAR struct slip_driver_s *priv =
| ^~~~
net/slip.c: In function ‘slip_rmmac’:
net/slip.c:895:29: warning: unused variable ‘priv’ [-Wunused-variable]
895 | FAR struct slip_driver_s *priv =
| ^~~~
2.
local/local_sendmsg.c: In function ‘local_sendmsg’:
local/local_sendmsg.c:423:18: warning: ‘count’ may be used uninitialized in this function [-Wmaybe-uninitialized]
423 | return count;
| ^~~~~
local/local_sendmsg.c:131:11: warning: ‘i’ may be used uninitialized in this function [-Wmaybe-uninitialized]
131 | while (i-- > 0)
| ~^~
local/local_sendmsg.c:71:7: note: ‘i’ was declared here
71 | int i;
| ^
Signed-off-by: chao an <anchao@xiaomi.com>
|
||
|---|---|---|
| .. | ||
| Kconfig | ||
| local.h | ||
| local_accept.c | ||
| local_bind.c | ||
| local_conn.c | ||
| local_connect.c | ||
| local_fifo.c | ||
| local_listen.c | ||
| local_netpoll.c | ||
| local_recvmsg.c | ||
| local_recvutils.c | ||
| local_release.c | ||
| local_sendmsg.c | ||
| local_sendpacket.c | ||
| local_sockif.c | ||
| Make.defs | ||