mirror of
https://github.com/nginx/nginx.git
synced 2025-06-07 17:52:38 +08:00
Removed duplicate initialization of the "rev" variable.
This commit is contained in:
parent
651be6067e
commit
840d205bac
@ -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,
|
ngx_log_debug2(NGX_LOG_DEBUG_EVENT, c->log, 0,
|
||||||
"readv: %d, last:%d", vec.nelts, iov->iov_len);
|
"readv: %d, last:%d", vec.nelts, iov->iov_len);
|
||||||
|
|
||||||
rev = c->read;
|
|
||||||
|
|
||||||
do {
|
do {
|
||||||
n = readv(c->fd, (struct iovec *) vec.elts, vec.nelts);
|
n = readv(c->fd, (struct iovec *) vec.elts, vec.nelts);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user