Changeset 7202:a49af443656f in nginx


Ignore:
Timestamp:
02/08/18 09:11:30 (2 years ago)
Author:
Ruslan Ermilov <ru@…>
Branch:
default
Phase:
public
Message:

HTTP/2: fixed build with -Werror=unused-but-set-variable.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/http/v2/ngx_http_v2_filter_module.c

    r7201 r7202  
    689689    ngx_uint_t                  i, push;
    690690    ngx_table_elt_t           **h;
    691     ngx_connection_t           *fc;
    692     ngx_http_v2_stream_t       *stream;
    693691    ngx_http_v2_loc_conf_t     *h2lcf;
    694     ngx_http_v2_connection_t   *h2c;
    695692    ngx_http_complex_value_t   *pushes;
    696693
    697     fc = r->connection;
    698 
    699     ngx_log_debug0(NGX_LOG_DEBUG_HTTP, fc->log, 0, "http2 push resources");
    700 
    701     stream = r->stream;
    702     h2c = stream->connection;
     694    ngx_log_debug0(NGX_LOG_DEBUG_HTTP, r->connection->log, 0,
     695                   "http2 push resources");
    703696
    704697    ngx_str_null(&authority);
     
    745738    for (i = 0; i < r->headers_out.link.nelts; i++) {
    746739
    747         ngx_log_debug1(NGX_LOG_DEBUG_HTTP, fc->log, 0,
     740        ngx_log_debug1(NGX_LOG_DEBUG_HTTP, r->connection->log, 0,
    748741                       "http2 parse link: \"%V\"", &h[i]->value);
    749742
Note: See TracChangeset for help on using the changeset viewer.