mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-08-03 04:34:41 +02:00
Account for not used case
This commit is contained in:
@@ -836,6 +836,8 @@ static INLINE void tcp_accept(SOCKET_T* sockfd, SOCKET_T* clientfd,
|
|||||||
socklen_t client_len = sizeof(client);
|
socklen_t client_len = sizeof(client);
|
||||||
tcp_ready* ready = NULL;
|
tcp_ready* ready = NULL;
|
||||||
|
|
||||||
|
(void) ready; /* Account for case when "ready" is not used */
|
||||||
|
|
||||||
if (udp) {
|
if (udp) {
|
||||||
udp_accept(sockfd, clientfd, useAnyAddr, port, args);
|
udp_accept(sockfd, clientfd, useAnyAddr, port, args);
|
||||||
return;
|
return;
|
||||||
|
Reference in New Issue
Block a user