diff options
author | Valentin Bartenev <vbart@nginx.com> | 2016-01-12 19:19:07 +0300 |
---|---|---|
committer | Valentin Bartenev <vbart@nginx.com> | 2016-01-12 19:19:07 +0300 |
commit | 8a5df8c720a0b5e773bc852779f542ffa66e7061 (patch) | |
tree | cbbffdbc99074c3ff3f20cec189f5178e983d7b8 /src | |
parent | d0bf684ab6643edc18ab65e2c40bf88862ead8e5 (diff) | |
download | nginx-8a5df8c720a0b5e773bc852779f542ffa66e7061.tar.gz nginx-8a5df8c720a0b5e773bc852779f542ffa66e7061.zip |
Request body: removed surplus assigment, no functional changes.
Setting rb->bufs to NULL is surplus after ngx_http_write_request_body()
has returned NGX_OK.
Diffstat (limited to 'src')
-rw-r--r-- | src/http/ngx_http_request_body.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/http/ngx_http_request_body.c b/src/http/ngx_http_request_body.c index 77e92e3f4..e9562c0be 100644 --- a/src/http/ngx_http_request_body.c +++ b/src/http/ngx_http_request_body.c @@ -172,9 +172,6 @@ ngx_http_read_client_request_body(ngx_http_request_t *r, b->file = &rb->temp_file->file; rb->bufs = cl; - - } else { - rb->bufs = NULL; } } @@ -466,9 +463,6 @@ ngx_http_do_read_client_request_body(ngx_http_request_t *r) b->file = &rb->temp_file->file; rb->bufs = cl; - - } else { - rb->bufs = NULL; } } |