changeset 5376:dd9cb4edf499

Removed surplus initializations from ngx_conf_set_path_slot(). An instance of ngx_path_t is already zeroed by ngx_pcalloc().
author Valentin Bartenev <vbart@nginx.com>
date Mon, 16 Sep 2013 18:49:22 +0400
parents 7d8770196436
children cec155f07c84
files src/core/ngx_file.c
diffstat 1 files changed, 0 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- 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, n
         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;