fix error: variable 'mem' set but not used [-Werror=unused-but-set-variable]

This commit is contained in:
Alexis La Goutte 2014-12-30 16:18:50 +01:00
parent ab1dd11705
commit fef9530ca5
1 changed files with 0 additions and 2 deletions

View File

@ -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) {