Account for not used case
This commit is contained in:
parent
85215cc174
commit
7a599c1309
@ -836,6 +836,8 @@ static INLINE void tcp_accept(SOCKET_T* sockfd, SOCKET_T* clientfd,
|
||||
socklen_t client_len = sizeof(client);
|
||||
tcp_ready* ready = NULL;
|
||||
|
||||
(void) ready; /* Account for case when "ready" is not used */
|
||||
|
||||
if (udp) {
|
||||
udp_accept(sockfd, clientfd, useAnyAddr, port, args);
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user