net/inet/inet_close.c: Fix a warning found in build testing.
This commit is contained in:
parent
389ac36f20
commit
93452d70ef
@ -185,6 +185,7 @@ static uint16_t tcp_close_eventhandler(FAR struct net_driver_s *dev,
|
|||||||
flags = (flags & ~TCP_NEWDATA) | TCP_CLOSE;
|
flags = (flags & ~TCP_NEWDATA) | TCP_CLOSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
UNUSED(conn); /* May not be used */
|
||||||
return flags;
|
return flags;
|
||||||
|
|
||||||
end_wait:
|
end_wait:
|
||||||
@ -194,6 +195,7 @@ end_wait:
|
|||||||
nxsem_post(&pstate->cl_sem);
|
nxsem_post(&pstate->cl_sem);
|
||||||
|
|
||||||
ninfo("Resuming\n");
|
ninfo("Resuming\n");
|
||||||
|
UNUSED(conn); /* May not be used */
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
#endif /* NET_TCP_HAVE_STACK */
|
#endif /* NET_TCP_HAVE_STACK */
|
||||||
|
Loading…
Reference in New Issue
Block a user