From eb10d8f71ec237d77fc5dec58917087700661eb0 Mon Sep 17 00:00:00 2001 From: Valentin Bartenev Date: Mon, 16 Sep 2013 18:49:22 +0400 Subject: [PATCH] Removed surplus initializations from ngx_conf_set_path_slot(). An instance of ngx_path_t is already zeroed by ngx_pcalloc(). --- src/core/ngx_file.c | 3 --- 1 file changed, 3 deletions(-) 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;