# HG changeset patch # User Valentin Bartenev # Date 1379342962 -14400 # Node ID dd9cb4edf4999e8aae12c0c338c88f4755234cfc # Parent 7d877019643683b5ee86a44fd9cf62c52ba43071 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 --- a/src/core/ngx_file.c +++ b/src/core/ngx_file.c @@ -359,9 +359,6 @@ ngx_conf_set_path_slot(ngx_conf_t *cf, n 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;