aboutsummaryrefslogtreecommitdiff
path: root/src/core/ngx_file.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/ngx_file.c')
-rw-r--r--src/core/ngx_file.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/core/ngx_file.c b/src/core/ngx_file.c
index ad2b3c953..a8b07ecea 100644
--- a/src/core/ngx_file.c
+++ b/src/core/ngx_file.c
@@ -372,10 +372,6 @@ ngx_conf_set_path_slot(ngx_conf_t *cf, ngx_command_t *cmd, void *conf)
path->len += level + 1;
}
- while (i < 3) {
- path->level[i++] = 0;
- }
-
*slot = path;
if (ngx_add_path(cf, slot) == NGX_ERROR) {