diff options
author | Roman Arutyunyan <arut@nginx.com> | 2020-03-20 23:49:42 +0300 |
---|---|---|
committer | Roman Arutyunyan <arut@nginx.com> | 2020-03-20 23:49:42 +0300 |
commit | 0f77eac8af88e461c1b695094e63db249841ce0e (patch) | |
tree | 2944e5129c431e377f7461a44cd81ab3f1915475 /src/http/v3/ngx_http_v3_request.c | |
parent | b26d5deae47bd3e8532ee8ce5f984455afd372f8 (diff) | |
download | nginx-0f77eac8af88e461c1b695094e63db249841ce0e.tar.gz nginx-0f77eac8af88e461c1b695094e63db249841ce0e.zip |
Removed unused variable.
Diffstat (limited to 'src/http/v3/ngx_http_v3_request.c')
-rw-r--r-- | src/http/v3/ngx_http_v3_request.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/http/v3/ngx_http_v3_request.c b/src/http/v3/ngx_http_v3_request.c index 9a2654fd4..542fc387d 100644 --- a/src/http/v3/ngx_http_v3_request.c +++ b/src/http/v3/ngx_http_v3_request.c @@ -245,7 +245,7 @@ ngx_chain_t * ngx_http_v3_create_header(ngx_http_request_t *r) { u_char *p; - size_t len, hlen, n; + size_t len, n; ngx_buf_t *b; ngx_uint_t i, j; ngx_chain_t *hl, *cl, *bl; @@ -553,8 +553,6 @@ ngx_http_v3_create_header(ngx_http_request_t *r) hl->buf = b; hl->next = cl; - hlen = 1 + ngx_http_v3_encode_varlen_int(NULL, len); - if (r->headers_out.content_length_n >= 0) { len = 1 + ngx_http_v3_encode_varlen_int(NULL, r->headers_out.content_length_n); |