fix Value stored to 'rv' is never read found by Clang Analyzer
This commit is contained in:
parent
553d741f03
commit
ddee5d3896
|
@ -1114,8 +1114,8 @@ void test_nghttp2_session_recv_premature_headers(void) {
|
|||
|
||||
nghttp2_hd_deflate_init(&deflater, mem);
|
||||
|
||||
rv = pack_headers(&bufs, &deflater, 1, NGHTTP2_FLAG_END_HEADERS, reqnv,
|
||||
ARRLEN(reqnv), mem);
|
||||
pack_headers(&bufs, &deflater, 1, NGHTTP2_FLAG_END_HEADERS, reqnv,
|
||||
ARRLEN(reqnv), mem);
|
||||
|
||||
buf = &bufs.head->buf;
|
||||
/* Intentionally feed payload cutting last 1 byte off */
|
||||
|
|
Loading…
Reference in New Issue