From ca9263880a8db50d302773b9ba8e2887a1ffeded Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Sat, 8 Jul 2017 17:06:39 -0700 Subject: Various cleanups of unused bits. --- src/transport/inproc/inproc.c | 1 - src/transport/tcp/tcp.c | 2 -- 2 files changed, 3 deletions(-) (limited to 'src/transport') diff --git a/src/transport/inproc/inproc.c b/src/transport/inproc/inproc.c index 0489ea38..01ffd39a 100644 --- a/src/transport/inproc/inproc.c +++ b/src/transport/inproc/inproc.c @@ -221,7 +221,6 @@ static int nni_inproc_ep_init(void **epp, const char *url, nni_sock *sock, int mode) { nni_inproc_ep *ep; - int rv; if (strlen(url) > NNG_MAXADDRLEN-1) { return (NNG_EINVAL); diff --git a/src/transport/tcp/tcp.c b/src/transport/tcp/tcp.c index 7d66d366..4b0f77f1 100644 --- a/src/transport/tcp/tcp.c +++ b/src/transport/tcp/tcp.c @@ -438,7 +438,6 @@ static int nni_tcp_parse_pair(char *pair, char **hostp, char **servp) { char *host, *serv, *end; - char c; if (pair[0] == '[') { host = pair+1; @@ -522,7 +521,6 @@ static void nni_tcp_pipe_start(void *arg, nni_aio *aio) { nni_tcp_pipe *pipe = arg; - int rv; nni_mtx_lock(&pipe->mtx); pipe->txlen[0] = 0; -- cgit v1.2.3-70-g09d2