From 85215cc1748b388eceba2b501b064ef6e3fb01c3 Mon Sep 17 00:00:00 2001 From: kaleb-himes Date: Wed, 2 Mar 2016 11:39:34 -0700 Subject: [PATCH] clean up braces left over from local declaration of ready --- wolfssl/test.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/wolfssl/test.h b/wolfssl/test.h index 4731132c0..1a8386541 100644 --- a/wolfssl/test.h +++ b/wolfssl/test.h @@ -846,7 +846,6 @@ static INLINE void tcp_accept(SOCKET_T* sockfd, SOCKET_T* clientfd, #if defined(_POSIX_THREADS) && defined(NO_MAIN_DRIVER) && !defined(__MINGW32__) /* signal ready to tcp_accept */ - { if (args) ready = args->signal; if (ready) { @@ -856,7 +855,6 @@ static INLINE void tcp_accept(SOCKET_T* sockfd, SOCKET_T* clientfd, pthread_cond_signal(&ready->cond); pthread_mutex_unlock(&ready->mutex); } - } #elif defined (WOLFSSL_TIRTOS) /* Need mutex? */ if (args)