Removed surplus initializations from ngx_conf_set_path_slot(). An instance of ngx_path_t is already zeroed by ngx_pcalloc().
diff --git a/src/core/ngx_file.c b/src/core/ngx_file.c index a6ef100..176bbb6 100644 --- a/src/core/ngx_file.c +++ b/src/core/ngx_file.c
@@ -359,9 +359,6 @@ return NULL; } - path->len = 0; - path->manager = NULL; - path->loader = NULL; path->conf_file = cf->conf_file->file.name.data; path->line = cf->conf_file->line;