summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorMax Romanov <max.romanov@nginx.com>2019-03-18 19:55:39 +0300
committerMax Romanov <max.romanov@nginx.com>2019-03-18 19:55:39 +0300
commit39e147a858e7d135aa224a308b4d41061e00c296 (patch)
treeb8c064e095025853f968334107eb71dea6005520
parentf49379215a0177ebf14aab7185bdbf8bc2f76f47 (diff)
downloadunit-39e147a858e7d135aa224a308b4d41061e00c296.tar.gz
unit-39e147a858e7d135aa224a308b4d41061e00c296.tar.bz2
Removing unused local variable.
Diffstat (limited to '')
-rw-r--r--src/nxt_router.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/nxt_router.c b/src/nxt_router.c
index 0f56c885..f546887b 100644
--- a/src/nxt_router.c
+++ b/src/nxt_router.c
@@ -3382,7 +3382,6 @@ static void
nxt_router_response_ready_handler(nxt_task_t *task, nxt_port_recv_msg_t *msg,
void *data)
{
- size_t dump_size;
nxt_int_t ret;
nxt_buf_t *b;
nxt_unit_field_t *f;
@@ -3394,12 +3393,6 @@ nxt_router_response_ready_handler(nxt_task_t *task, nxt_port_recv_msg_t *msg,
b = msg->buf;
rc = data;
- dump_size = nxt_buf_used_size(b);
-
- if (dump_size > 300) {
- dump_size = 300;
- }
-
if (msg->size == 0) {
b = NULL;
}