fix error: variable 'mem' set but not used [-Werror=unused-but-set-variable]
This commit is contained in:
parent
ab1dd11705
commit
fef9530ca5
|
@ -2219,9 +2219,7 @@ static int session_after_frame_sent1(nghttp2_session *session) {
|
||||||
nghttp2_outbound_item *item = aob->item;
|
nghttp2_outbound_item *item = aob->item;
|
||||||
nghttp2_bufs *framebufs = &aob->framebufs;
|
nghttp2_bufs *framebufs = &aob->framebufs;
|
||||||
nghttp2_frame *frame;
|
nghttp2_frame *frame;
|
||||||
nghttp2_mem *mem;
|
|
||||||
|
|
||||||
mem = &session->mem;
|
|
||||||
frame = &item->frame;
|
frame = &item->frame;
|
||||||
|
|
||||||
if (frame->hd.type != NGHTTP2_DATA) {
|
if (frame->hd.type != NGHTTP2_DATA) {
|
||||||
|
|
Loading…
Reference in New Issue