From 8f53f6f6262d5f944fd0ce84f9eb482bcc16b7b7 Mon Sep 17 00:00:00 2001 From: Ruslan Ermilov Date: Tue, 15 Mar 2016 15:15:30 +0300 Subject: [PATCH] Win32: fixed build after cf3e75cfa951. --- src/http/v2/ngx_http_v2_filter_module.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/http/v2/ngx_http_v2_filter_module.c b/src/http/v2/ngx_http_v2_filter_module.c index da78407ee..235a006ff 100644 --- a/src/http/v2/ngx_http_v2_filter_module.c +++ b/src/http/v2/ngx_http_v2_filter_module.c @@ -231,6 +231,10 @@ ngx_http_v2_header_filter(ngx_http_request_t *r) server_tokens = clcf->server_tokens; +#if (NGX_SUPPRESS_WARN) + ngx_str_null(&tokens); +#endif + if (r->headers_out.server == NULL) { if (server_tokens == 0) {