diff options
| author | Garrett D'Amore <garrett@damore.org> | 2018-02-28 17:33:35 -0800 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2018-03-02 08:47:33 -0800 |
| commit | 91089a2a60d2a74334fc67757fd23ee1f3ae56d5 (patch) | |
| tree | 75abfed0b81ab63a1281c097fccee74d7857b6c9 /src/core | |
| parent | 04e5a756ba25f79036aa5e03e7412ed5e5539a12 (diff) | |
| download | nng-91089a2a60d2a74334fc67757fd23ee1f3ae56d5.tar.gz nng-91089a2a60d2a74334fc67757fd23ee1f3ae56d5.tar.bz2 nng-91089a2a60d2a74334fc67757fd23ee1f3ae56d5.zip | |
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.
Diffstat (limited to 'src/core')
| -rw-r--r-- | src/core/msgqueue.c | 4 |
1 files changed, 0 insertions, 4 deletions
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; |
