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_buf.c | |
parent | fa9fb29be221e0393562831a9e3bcba416652f60 (diff) | |
download | unit-db03dfad6745a7d87d784ac51ed2d52e1c50a557.tar.gz unit-db03dfad6745a7d87d784ac51ed2d52e1c50a557.tar.bz2 |
Fixed dead assignments.
Found by Clang Static Analyzer.
Diffstat (limited to 'src/nxt_buf.c')
-rw-r--r-- | src/nxt_buf.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/nxt_buf.c b/src/nxt_buf.c index 83be0fac..cbde069e 100644 --- a/src/nxt_buf.c +++ b/src/nxt_buf.c @@ -201,7 +201,6 @@ nxt_buf_completion(nxt_task_t *task, void *obj, void *data) nxt_buf_t *b, *next, *parent; b = obj; - parent = data; nxt_debug(task, "buf completion: %p %p", b, b->mem.start); @@ -275,7 +274,6 @@ nxt_buf_ts_completion(nxt_task_t *task, void *obj, void *data) nxt_buf_t *b, *next, *parent; b = obj; - parent = data; if (nxt_buf_ts_handle(task, obj, data)) { return; |