diff options
author | Valentin Bartenev <vbart@nginx.com> | 2014-09-22 19:48:23 +0400 |
---|---|---|
committer | Valentin Bartenev <vbart@nginx.com> | 2014-09-22 19:48:23 +0400 |
commit | 840d205bac9a65ad0a9e78353bd773fcbc13da04 (patch) | |
tree | 2a79bbbb3d5ddcbbc46f8a69eea98b27d94fecf9 /src/os/unix/ngx_readv_chain.c | |
parent | 651be6067ec12cee11fb70bd9be23c4858604a92 (diff) | |
download | nginx-840d205bac9a65ad0a9e78353bd773fcbc13da04.tar.gz nginx-840d205bac9a65ad0a9e78353bd773fcbc13da04.zip |
Removed duplicate initialization of the "rev" variable.
Diffstat (limited to 'src/os/unix/ngx_readv_chain.c')
-rw-r--r-- | src/os/unix/ngx_readv_chain.c | 2 |
1 files changed, 0 insertions, 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); |