Mercurial > hg > nginx
changeset 2481:d4fd929fb486
fix types and add comment
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Tue, 27 Jan 2009 16:22:02 +0000 |
parents | a9abdddaa92d |
children | 30ec8c5ac75b |
files | src/http/ngx_http_core_module.c |
diffstat | 1 files changed, 2 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/src/http/ngx_http_core_module.c Tue Jan 27 16:20:29 2009 +0000 +++ b/src/http/ngx_http_core_module.c Tue Jan 27 16:22:02 2009 +0000 @@ -1034,8 +1034,7 @@ ngx_http_core_try_files_phase(ngx_http_request_t *r, ngx_http_phase_handler_t *ph) { - size_t len, root, alias; - ssize_t reserve, allocated; + size_t len, root, alias, reserve, allocated; u_char *p, *name; ngx_str_t path; ngx_uint_t test_dir; @@ -1059,7 +1058,7 @@ allocated = 0; root = 0; name = NULL; - path.len = 0; + /* suppress MSVC warning */ path.data = NULL; tf = clcf->try_files;