fix Value stored to 'rv' is never read found by Clang Analyzer

This commit is contained in:
Alexis La Goutte 2015-05-15 18:11:56 +02:00
parent 553d741f03
commit ddee5d3896
1 changed files with 2 additions and 2 deletions

View File

@ -1114,8 +1114,8 @@ void test_nghttp2_session_recv_premature_headers(void) {
nghttp2_hd_deflate_init(&deflater, mem); nghttp2_hd_deflate_init(&deflater, mem);
rv = pack_headers(&bufs, &deflater, 1, NGHTTP2_FLAG_END_HEADERS, reqnv, pack_headers(&bufs, &deflater, 1, NGHTTP2_FLAG_END_HEADERS, reqnv,
ARRLEN(reqnv), mem); ARRLEN(reqnv), mem);
buf = &bufs.head->buf; buf = &bufs.head->buf;
/* Intentionally feed payload cutting last 1 byte off */ /* Intentionally feed payload cutting last 1 byte off */