aboutsummaryrefslogtreecommitdiff
path: root/src/core/msgqueue.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/msgqueue.c')
-rw-r--r--src/core/msgqueue.c4
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;