Welcome! Log In Create A New Profile

Advanced

[nginx] Removed duplicate initialization of the "rev" variable.

Valentin Bartenev
September 22, 2014 11:50AM
details: http://hg.nginx.org/nginx/rev/a0a14319968b
branches:
changeset: 5855:a0a14319968b
user: Valentin Bartenev <vbart@nginx.com>
date: Mon Sep 22 19:48:23 2014 +0400
description:
Removed duplicate initialization of the "rev" variable.

diffstat:

src/os/unix/ngx_readv_chain.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)

diffs (12 lines):

diff -r b63e829621ab -r a0a14319968b src/os/unix/ngx_readv_chain.c
--- a/src/os/unix/ngx_readv_chain.c Wed Aug 13 15:11:45 2014 +0400
+++ b/src/os/unix/ngx_readv_chain.c Mon Sep 22 19:48:23 2014 +0400
@@ -91,8 +91,6 @@ ngx_readv_chain(ngx_connection_t *c, ngx
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);


_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

[nginx] Removed duplicate initialization of the "rev" variable.

Valentin Bartenev 690 September 22, 2014 11:50AM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 174
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready