diff options
author | Valentin Bartenev <vbart@nginx.com> | 2013-09-16 18:49:22 +0400 |
---|---|---|
committer | Valentin Bartenev <vbart@nginx.com> | 2013-09-16 18:49:22 +0400 |
commit | eb10d8f71ec237d77fc5dec58917087700661eb0 (patch) | |
tree | f23881b10b803badd20dcae8b2a4aa2e0d465f03 /src | |
parent | f0fbcaf098680c885faf4561f4059d77424a19a6 (diff) | |
download | nginx-eb10d8f71ec237d77fc5dec58917087700661eb0.tar.gz nginx-eb10d8f71ec237d77fc5dec58917087700661eb0.zip |
Removed surplus initializations from ngx_conf_set_path_slot().
An instance of ngx_path_t is already zeroed by ngx_pcalloc().
Diffstat (limited to 'src')
-rw-r--r-- | src/core/ngx_file.c | 3 |
1 files changed, 0 insertions, 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; |