commit | 840d205bac9a65ad0a9e78353bd773fcbc13da04 | [log] [tgz] |
---|---|---|
author | Valentin Bartenev <vbart@nginx.com> | Mon Sep 22 19:48:23 2014 +0400 |
committer | Valentin Bartenev <vbart@nginx.com> | Mon Sep 22 19:48:23 2014 +0400 |
tree | 2a79bbbb3d5ddcbbc46f8a69eea98b27d94fecf9 | |
parent | 651be6067ec12cee11fb70bd9be23c4858604a92 [diff] |
Removed duplicate initialization of the "rev" variable.
diff --git a/src/os/unix/ngx_readv_chain.c b/src/os/unix/ngx_readv_chain.c index 8523be3..3cba80c 100644 --- a/src/os/unix/ngx_readv_chain.c +++ b/src/os/unix/ngx_readv_chain.c
@@ -91,8 +91,6 @@ 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);