summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_event_engine.c
diff options
context:
space:
mode:
authorMax Romanov <max.romanov@nginx.com>2021-08-03 13:59:27 +0300
committerMax Romanov <max.romanov@nginx.com>2021-08-03 13:59:27 +0300
commitdb03dfad6745a7d87d784ac51ed2d52e1c50a557 (patch)
tree9ba539d5873f9f008e5a5c4ab9b013fd1ec44d5e /src/nxt_event_engine.c
parentfa9fb29be221e0393562831a9e3bcba416652f60 (diff)
downloadunit-db03dfad6745a7d87d784ac51ed2d52e1c50a557.tar.gz
unit-db03dfad6745a7d87d784ac51ed2d52e1c50a557.tar.bz2
Fixed dead assignments.
Found by Clang Static Analyzer.
Diffstat (limited to '')
-rw-r--r--src/nxt_event_engine.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/nxt_event_engine.c b/src/nxt_event_engine.c
index 4384d3b1..78c79bb1 100644
--- a/src/nxt_event_engine.c
+++ b/src/nxt_event_engine.c
@@ -720,11 +720,10 @@ nxt_event_engine_buf_mem_free(nxt_event_engine_t *engine, nxt_buf_t *b)
void
nxt_event_engine_buf_mem_completion(nxt_task_t *task, void *obj, void *data)
{
- nxt_event_engine_t *engine;
nxt_buf_t *b, *next, *parent;
+ nxt_event_engine_t *engine;
b = obj;
- parent = data;
nxt_debug(task, "buf completion: %p %p", b, b->mem.start);