QUIC: fixed dead store assignment.

Found by Clang Static Analyzer.
This commit is contained in:
Sergey Kandaurov 2020-10-07 14:51:05 +01:00
parent 017e3bd8a8
commit c245c9ea20

View File

@ -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: