diff options
| author | Ruslan Ermilov <ru@nginx.com> | 2016-03-15 15:15:30 +0300 |
|---|---|---|
| committer | Ruslan Ermilov <ru@nginx.com> | 2016-03-15 15:15:30 +0300 |
| commit | 8f53f6f6262d5f944fd0ce84f9eb482bcc16b7b7 (patch) | |
| tree | d87269db41f8d8309485d1da6b35c331995b7dc3 | |
| parent | 3d9ce2d601fa80c084f7b3cf86f86487c17e9a93 (diff) | |
| download | nginx-8f53f6f6262d5f944fd0ce84f9eb482bcc16b7b7.tar.gz nginx-8f53f6f6262d5f944fd0ce84f9eb482bcc16b7b7.tar.bz2 | |
Win32: fixed build after cf3e75cfa951.
| -rw-r--r-- | src/http/v2/ngx_http_v2_filter_module.c | 4 |
1 files changed, 4 insertions, 0 deletions
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) { |
