Make result type of hd_inflate_commit_indexed void

This commit is contained in:
Tatsuhiro Tsujikawa 2016-08-11 11:33:09 +09:00
parent 4639a66e53
commit 0c7d48dede
1 changed files with 4 additions and 6 deletions

View File

@ -1677,16 +1677,14 @@ static ssize_t hd_inflate_read(nghttp2_hd_inflater *inflater, nghttp2_buf *buf,
}
/*
* Finalize indexed header representation reception. header is always
* emitted, |*nv_out| is filled with that value and 0 is returned.
* Finalize indexed header representation reception. The referenced
* header is always emitted, and |*nv_out| is filled with that value.
*/
static int hd_inflate_commit_indexed(nghttp2_hd_inflater *inflater,
nghttp2_hd_nv *nv_out) {
static void hd_inflate_commit_indexed(nghttp2_hd_inflater *inflater,
nghttp2_hd_nv *nv_out) {
nghttp2_hd_nv nv = nghttp2_hd_table_get(&inflater->ctx, inflater->index);
emit_header(nv_out, &nv);
return 0;
}
/*