Mercurial > hg > nginx
comparison src/event/ngx_event_quic_transport.c @ 8582:b95aa1cb8f98 quic
QUIC: fixed dead store assignment.
Found by Clang Static Analyzer.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Wed, 07 Oct 2020 14:51:05 +0100 |
parents | a6784cf32c13 |
children | 61f1c6ac8967 |
comparison
equal
deleted
inserted
replaced
8581:ec04dbb77fb7 | 8582:b95aa1cb8f98 |
---|---|
1480 break; | 1480 break; |
1481 | 1481 |
1482 case NGX_QUIC_TP_INITIAL_SCID: | 1482 case NGX_QUIC_TP_INITIAL_SCID: |
1483 | 1483 |
1484 str.len = end - p; | 1484 str.len = end - p; |
1485 p = ngx_quic_read_bytes(p, end, str.len, &str.data); | 1485 str.data = p; |
1486 break; | 1486 break; |
1487 | 1487 |
1488 default: | 1488 default: |
1489 return NGX_DECLINED; | 1489 return NGX_DECLINED; |
1490 } | 1490 } |