mirror of
https://github.com/nginx/nginx.git
synced 2024-12-19 13:43:28 -06:00
Removed surplus initializations from ngx_conf_set_path_slot().
An instance of ngx_path_t is already zeroed by ngx_pcalloc().
This commit is contained in:
parent
f0fbcaf098
commit
eb10d8f71e
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user