diff options
author | Valentin Bartenev <vbart@nginx.com> | 2020-05-15 17:08:37 +0300 |
---|---|---|
committer | Valentin Bartenev <vbart@nginx.com> | 2020-05-15 17:08:37 +0300 |
commit | 79f5e531fe6451eccff1c4dc14826c30f922ead1 (patch) | |
tree | 231a5e54abdcc0fe8d7a1e5302c3e94b90c7ffb1 /src/nxt_router.c | |
parent | 82471c1dd33fc13a18a334113b2c220cc06f3d5b (diff) | |
download | unit-79f5e531fe6451eccff1c4dc14826c30f922ead1.tar.gz unit-79f5e531fe6451eccff1c4dc14826c30f922ead1.tar.bz2 |
Router: removed two unused assignments.
This should resolve some static analyzers warnings.
Diffstat (limited to 'src/nxt_router.c')
-rw-r--r-- | src/nxt_router.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nxt_router.c b/src/nxt_router.c index d94a34af..4093db8d 100644 --- a/src/nxt_router.c +++ b/src/nxt_router.c @@ -1614,8 +1614,8 @@ nxt_router_conf_create(nxt_task_t *task, nxt_router_temp_conf_t *tmcf, next_target = 0; for (i = 0; i < n; i++) { - value = nxt_conf_next_object_member(apcf.targets_value, - &target, &next_target); + (void) nxt_conf_next_object_member(apcf.targets_value, + &target, &next_target); s = nxt_str_dup(app_mp, &targets[i], &target); if (nxt_slow_path(s == NULL)) { |