mirror of
https://github.com/nginx/nginx.git
synced 2025-01-21 11:42:59 +08:00
QUIC: fixed dead store assignment.
Found by Clang Static Analyzer.
This commit is contained in:
parent
017e3bd8a8
commit
c245c9ea20
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user