mirror of
https://github.com/apache/nuttx.git
synced 2026-10-04 04:38:10 +00:00
net/inet/inet_close.c: Fix a warning found in build testing.
This commit is contained in:
parent
389ac36f20
commit
93452d70ef
1 changed files with 2 additions and 0 deletions
|
|
@ -185,6 +185,7 @@ static uint16_t tcp_close_eventhandler(FAR struct net_driver_s *dev,
|
|||
flags = (flags & ~TCP_NEWDATA) | TCP_CLOSE;
|
||||
}
|
||||
|
||||
UNUSED(conn); /* May not be used */
|
||||
return flags;
|
||||
|
||||
end_wait:
|
||||
|
|
@ -194,6 +195,7 @@ end_wait:
|
|||
nxsem_post(&pstate->cl_sem);
|
||||
|
||||
ninfo("Resuming\n");
|
||||
UNUSED(conn); /* May not be used */
|
||||
return 0;
|
||||
}
|
||||
#endif /* NET_TCP_HAVE_STACK */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue