From c630f1fa89c567e03c690c5738ea00d175ff8ed7 Mon Sep 17 00:00:00 2001 From: Gioacchino Mazzurco Date: Thu, 6 Jul 2017 16:28:59 +0200 Subject: [PATCH] Fix unused warning in gxstokenqueue --- libretroshare/src/gxs/gxstokenqueue.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libretroshare/src/gxs/gxstokenqueue.cc b/libretroshare/src/gxs/gxstokenqueue.cc index e0cbdf46d..b857ee1a8 100644 --- a/libretroshare/src/gxs/gxstokenqueue.cc +++ b/libretroshare/src/gxs/gxstokenqueue.cc @@ -31,7 +31,7 @@ bool GxsTokenQueue::queueRequest(uint32_t token, uint32_t req_type) { - RsStackMutex stack(mQueueMtx); /********** STACK LOCKED MTX ******/ + RS_STACK_MUTEX(mQueueMtx); mQueue.push_back(GxsTokenQueueItem(token, req_type)); return true; }