From 7a599c13098f5d8ba506f38601a1153602571585 Mon Sep 17 00:00:00 2001 From: kaleb-himes Date: Wed, 2 Mar 2016 16:31:58 -0700 Subject: [PATCH] Account for not used case --- wolfssl/test.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/wolfssl/test.h b/wolfssl/test.h index 1a8386541..1b1db4575 100644 --- a/wolfssl/test.h +++ b/wolfssl/test.h @@ -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;