From 91089a2a60d2a74334fc67757fd23ee1f3ae56d5 Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Wed, 28 Feb 2018 17:33:35 -0800 Subject: fixes #247 nngcat needs TLS options While here we also fixed a bug in the --file handling that we noticed while writing the TLS handling. We also fixed a warning in the core (msgqueue) for set but unused variables. --- src/core/msgqueue.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/core') diff --git a/src/core/msgqueue.c b/src/core/msgqueue.c index de4708fe..8246279f 100644 --- a/src/core/msgqueue.c +++ b/src/core/msgqueue.c @@ -528,8 +528,6 @@ nni_msgq_resize(nni_msgq *mq, int cap) nni_msg * msg; nni_msg **newq, **oldq; int oldget; - int oldput; - int oldcap; int oldlen; int oldalloc; @@ -564,8 +562,6 @@ nni_msgq_resize(nni_msgq *mq, int cap) oldq = mq->mq_msgs; oldget = mq->mq_get; - oldput = mq->mq_put; - oldcap = mq->mq_cap; oldalloc = mq->mq_alloc; oldlen = mq->mq_len; -- cgit v1.2.3-70-g09d2