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_http_route.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 '')
-rw-r--r-- | src/nxt_http_route.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/nxt_http_route.c b/src/nxt_http_route.c index 5010c561..a8a6b181 100644 --- a/src/nxt_http_route.c +++ b/src/nxt_http_route.c @@ -1050,9 +1050,6 @@ nxt_http_route_pattern_create(nxt_task_t *task, nxt_mp_t *mp, nxt_uint_t n, length; nxt_http_route_pattern_type_t type; - /* Suppress warning about uninitialized variable. */ - length = 0; - type = NXT_HTTP_ROUTE_PATTERN_EXACT; nxt_conf_get_string(cv, &test); |