diff src/http/v2/ngx_http_v2_filter_module.c @ 6434:602dc42035fe

Win32: fixed build after cf3e75cfa951.
author Ruslan Ermilov <ru@nginx.com>
date Tue, 15 Mar 2016 15:15:30 +0300
parents cf3e75cfa951
children e5076b96fd01
line wrap: on
line diff
--- 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_reque
 
     server_tokens = clcf->server_tokens;
 
+#if (NGX_SUPPRESS_WARN)
+    ngx_str_null(&tokens);
+#endif
+
     if (r->headers_out.server == NULL) {
 
         if (server_tokens == 0) {