commit | eb10d8f71ec237d77fc5dec58917087700661eb0 | [log] [tgz] |
---|---|---|
author | Valentin Bartenev <vbart@nginx.com> | Mon Sep 16 18:49:22 2013 +0400 |
committer | Valentin Bartenev <vbart@nginx.com> | Mon Sep 16 18:49:22 2013 +0400 |
tree | f23881b10b803badd20dcae8b2a4aa2e0d465f03 | |
parent | f0fbcaf098680c885faf4561f4059d77424a19a6 [diff] |
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;