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

Valentin Bartenev vbart at nginx.com
Mon Sep 22 15:49:04 UTC 2014


details:   http://hg.nginx.org/nginx/rev/a0a14319968b
branches:  
changeset: 5855:a0a14319968b
user:      Valentin Bartenev <vbart at 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);
 



More information about the nginx-devel mailing list