diff options
author | Max Romanov <max.romanov@nginx.com> | 2021-08-03 13:59:27 +0300 |
---|---|---|
committer | Max Romanov <max.romanov@nginx.com> | 2021-08-03 13:59:27 +0300 |
commit | db03dfad6745a7d87d784ac51ed2d52e1c50a557 (patch) | |
tree | 9ba539d5873f9f008e5a5c4ab9b013fd1ec44d5e /src/nxt_h1proto.c | |
parent | fa9fb29be221e0393562831a9e3bcba416652f60 (diff) | |
download | unit-db03dfad6745a7d87d784ac51ed2d52e1c50a557.tar.gz unit-db03dfad6745a7d87d784ac51ed2d52e1c50a557.tar.bz2 |
Fixed dead assignments.
Found by Clang Static Analyzer.
Diffstat (limited to '')
-rwxr-xr-x | src/nxt_h1proto.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/nxt_h1proto.c b/src/nxt_h1proto.c index d3da6942..b683cb22 100755 --- a/src/nxt_h1proto.c +++ b/src/nxt_h1proto.c @@ -955,7 +955,6 @@ nxt_h1p_request_body_read(nxt_task_t *task, nxt_http_request_t *r) } else { size = nxt_min(body_buffer_size, size); b->mem.free = nxt_cpymem(b->mem.free, in->mem.pos, size); - body_buffer_size -= size; } in->mem.pos += size; |