summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_http_route.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-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 36e003ae..ae91076a 100644
--- a/src/nxt_http_route.c
+++ b/src/nxt_http_route.c
@@ -1085,10 +1085,6 @@ nxt_http_route_pattern_create(nxt_task_t *task, nxt_mp_t *mp,
pattern->negative = 1;
pattern->any = 0;
-
- if (test.length == 0) {
- return NXT_OK;
- }
}
if (test.length == 0) {