From 153dfd3a4a1d510697c5d55e169fa158db16e04a Mon Sep 17 00:00:00 2001 From: Ian Craggs Date: Wed, 5 Aug 2020 15:31:05 +0100 Subject: [PATCH] Remove non-windows code in test5 --- test/test5.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/test5.c b/test/test5.c index 7ba9f42e..844b7f91 100644 --- a/test/test5.c +++ b/test/test5.c @@ -474,9 +474,9 @@ void sendAndReceive(MQTTAsync* c, int qos, char* test_topic) *********************************************************************/ -//static mutex_type client_mutex = NULL; +/*static mutex_type client_mutex = NULL; static pthread_mutex_t client_mutex_store = PTHREAD_MUTEX_INITIALIZER; -static mutex_type client_mutex = &client_mutex_store; +static mutex_type client_mutex = &client_mutex_store;*/ void asyncTestOnDisconnect(void* context, MQTTAsync_successData* response) {