summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_http_route.c
diff options
context:
space:
mode:
authorZhidao HONG <z.hong@f5.com>2021-11-05 11:19:15 +0800
committerZhidao HONG <z.hong@f5.com>2021-11-05 11:19:15 +0800
commit1260add0f5cacd5849640f7ee335f3ace97ade2c (patch)
tree82c0ec2468f835d257ca060a6b2a212b2f40fe44 /src/nxt_http_route.c
parent40ad333a9c938f73621af0f32b0f09ab634c26c0 (diff)
downloadunit-1260add0f5cacd5849640f7ee335f3ace97ade2c.tar.gz
unit-1260add0f5cacd5849640f7ee335f3ace97ade2c.tar.bz2
HTTP: removed surplus check for r->args is not NULL.
Diffstat (limited to 'src/nxt_http_route.c')
-rw-r--r--src/nxt_http_route.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/nxt_http_route.c b/src/nxt_http_route.c
index ad2129e7..b2df000f 100644
--- a/src/nxt_http_route.c
+++ b/src/nxt_http_route.c
@@ -2008,10 +2008,6 @@ nxt_http_route_arguments(nxt_http_request_t *r, nxt_http_route_rule_t *rule)
{
nxt_array_t *arguments;
- if (r->args == NULL) {
- return 0;
- }
-
arguments = nxt_http_route_arguments_parse(r);
if (nxt_slow_path(arguments == NULL)) {
return -1;