aboutsummaryrefslogtreecommitdiff
path: root/src/protocol/reqrep/req.c
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2017-07-07 18:17:04 -0700
committerGarrett D'Amore <garrett@damore.org>2017-07-07 18:17:04 -0700
commitc6df64d90ff9799b9f5970c4897e2b9a55e2ce69 (patch)
treea20908f2b8e62cfeb8bcca426aa4c9ce66860b58 /src/protocol/reqrep/req.c
parentea7d67c33ef28f4155b04b322ebbf778f1dbaa2a (diff)
downloadnng-c6df64d90ff9799b9f5970c4897e2b9a55e2ce69.tar.gz
nng-c6df64d90ff9799b9f5970c4897e2b9a55e2ce69.tar.bz2
nng-c6df64d90ff9799b9f5970c4897e2b9a55e2ce69.zip
Clean up some unused variables.
Diffstat (limited to 'src/protocol/reqrep/req.c')
-rw-r--r--src/protocol/reqrep/req.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/protocol/reqrep/req.c b/src/protocol/reqrep/req.c
index b951c9a0..f32fd66f 100644
--- a/src/protocol/reqrep/req.c
+++ b/src/protocol/reqrep/req.c
@@ -329,7 +329,6 @@ static void
nni_req_sendraw_cb(void *arg)
{
nni_req_pipe *rp = arg;
- nni_msg *msg;
if (nni_aio_result(&rp->aio_sendraw) != 0) {
nni_msg_free(rp->aio_sendraw.a_msg);
@@ -455,7 +454,6 @@ nni_req_resend(nni_req_sock *req)
{
nni_req_pipe *rp;
nni_msg *msg;
- int i;
// Note: This routine should be called with the socket lock held.
// Also, this should only be called while handling cooked mode