]> git.kaiwu.me - nginx.git/commitdiff
Removed duplicate initialization of the "rev" variable.
authorValentin Bartenev <vbart@nginx.com>
Mon, 22 Sep 2014 15:48:23 +0000 (19:48 +0400)
committerValentin Bartenev <vbart@nginx.com>
Mon, 22 Sep 2014 15:48:23 +0000 (19:48 +0400)
src/os/unix/ngx_readv_chain.c

index 8523be3672ecd78ca6ba5ac617b8a5fed69fb75f..3cba80cccc6c32fbd5d99adf41329efb8c432cf4 100644 (file)
@@ -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);