From: Sergey Kandaurov Date: Wed, 7 Oct 2020 13:51:05 +0000 (+0100) Subject: QUIC: fixed dead store assignment. X-Git-Url: http://git.kaiwu.me/postgresql/log/contrib/postgres_fdw/static/gitweb.js?a=commitdiff_plain;h=c245c9ea2018f9f23afe9c8a6bd8f7b4a8a05830;p=nginx.git QUIC: fixed dead store assignment. Found by Clang Static Analyzer. --- diff --git a/src/event/ngx_event_quic_transport.c b/src/event/ngx_event_quic_transport.c index 9a1704f10..1bd470f26 100644 --- a/src/event/ngx_event_quic_transport.c +++ b/src/event/ngx_event_quic_transport.c @@ -1482,7 +1482,7 @@ ngx_quic_parse_transport_param(u_char *p, u_char *end, uint16_t id, case NGX_QUIC_TP_INITIAL_SCID: str.len = end - p; - p = ngx_quic_read_bytes(p, end, str.len, &str.data); + str.data = p; break; default: