From 840d205bac9a65ad0a9e78353bd773fcbc13da04 Mon Sep 17 00:00:00 2001 From: Valentin Bartenev Date: Mon, 22 Sep 2014 19:48:23 +0400 Subject: [PATCH] Removed duplicate initialization of the "rev" variable. --- src/os/unix/ngx_readv_chain.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/os/unix/ngx_readv_chain.c b/src/os/unix/ngx_readv_chain.c index 8523be367..3cba80ccc 100644 --- a/src/os/unix/ngx_readv_chain.c +++ b/src/os/unix/ngx_readv_chain.c @@ -91,8 +91,6 @@ ngx_readv_chain(ngx_connection_t *c, ngx_chain_t *chain) ngx_log_debug2(NGX_LOG_DEBUG_EVENT, c->log, 0, "readv: %d, last:%d", vec.nelts, iov->iov_len); - rev = c->read; - do { n = readv(c->fd, (struct iovec *) vec.elts, vec.nelts);