From: Valentin Bartenev Date: Mon, 16 Sep 2013 14:49:22 +0000 (+0400) Subject: Removed surplus initializations from ngx_conf_set_path_slot(). X-Git-Tag: release-1.5.5~3 X-Git-Url: http://git.kaiwu.me/postgresql/log/contrib/postgres_fdw/postgres_fdw.c?a=commitdiff_plain;h=eb10d8f71ec237d77fc5dec58917087700661eb0;p=nginx.git 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 a6ef100e0..176bbb6c6 100644 --- 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, ngx_command_t *cmd, void *conf) 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;