changeset 5855:a0a14319968b

Removed duplicate initialization of the "rev" variable.
author Valentin Bartenev <vbart@nginx.com>
date Mon, 22 Sep 2014 19:48:23 +0400
parents b63e829621ab
children 1b8459a53e4b
files src/os/unix/ngx_readv_chain.c
diffstat 1 files changed, 0 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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_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);