Win32: fixed build after cf3e75cfa951.

This commit is contained in:
Ruslan Ermilov 2016-03-15 15:10:41 +03:00
parent 86927c6588
commit 3d9ce2d601

View File

@ -277,6 +277,10 @@ ngx_http_header_filter(ngx_http_request_t *r)
clcf = ngx_http_get_module_loc_conf(r, ngx_http_core_module); clcf = ngx_http_get_module_loc_conf(r, ngx_http_core_module);
#if (NGX_SUPPRESS_WARN)
ngx_str_null(&tokens);
#endif
if (r->headers_out.server == NULL) { if (r->headers_out.server == NULL) {
if (clcf->server_tokens == 0) { if (clcf->server_tokens == 0) {
ngx_str_set(&tokens, ngx_http_server_string); ngx_str_set(&tokens, ngx_http_server_string);