Mercurial > hg > nginx-quic
comparison src/http/ngx_http_request.c @ 5548:4d47722d76b2
Fixed false compiler warning.
Newer gcc versions (4.7+) report possible use of uninitialized variable if
nginx is being compiled with -O3.
author | Vladimir Homutov <vl@nginx.com> |
---|---|
date | Fri, 31 Jan 2014 14:18:52 +0400 |
parents | 2e40188f83ef |
children | 188481078faf |
comparison
equal
deleted
inserted
replaced
5547:2e40188f83ef | 5548:4d47722d76b2 |
---|---|
1942 ngx_int_t rc; | 1942 ngx_int_t rc; |
1943 ngx_http_connection_t *hc; | 1943 ngx_http_connection_t *hc; |
1944 ngx_http_core_loc_conf_t *clcf; | 1944 ngx_http_core_loc_conf_t *clcf; |
1945 ngx_http_core_srv_conf_t *cscf; | 1945 ngx_http_core_srv_conf_t *cscf; |
1946 | 1946 |
1947 #if (NGX_SUPPRESS_WARN) | |
1948 cscf = NULL; | |
1949 #endif | |
1950 | |
1947 hc = r->http_connection; | 1951 hc = r->http_connection; |
1948 | 1952 |
1949 #if (NGX_HTTP_SSL && defined SSL_CTRL_SET_TLSEXT_HOSTNAME) | 1953 #if (NGX_HTTP_SSL && defined SSL_CTRL_SET_TLSEXT_HOSTNAME) |
1950 | 1954 |
1951 if (hc->ssl_servername) { | 1955 if (hc->ssl_servername) { |