This commit is contained in:
Tatsuhiro Tsujikawa 2015-12-10 23:18:02 +09:00
parent ba671a8473
commit 0c70ff5658
1 changed files with 36 additions and 38 deletions

View File

@ -2556,6 +2556,8 @@ static int session_after_frame_sent2(nghttp2_session *session) {
nghttp2_bufs *framebufs = &aob->framebufs; nghttp2_bufs *framebufs = &aob->framebufs;
nghttp2_frame *frame; nghttp2_frame *frame;
nghttp2_mem *mem; nghttp2_mem *mem;
nghttp2_stream *stream;
nghttp2_data_aux_data *aux_data;
mem = &session->mem; mem = &session->mem;
frame = &item->frame; frame = &item->frame;
@ -2578,9 +2580,9 @@ static int session_after_frame_sent2(nghttp2_session *session) {
active_outbound_item_reset(&session->aob, mem); active_outbound_item_reset(&session->aob, mem);
return 0; return 0;
} else { }
nghttp2_stream *stream;
nghttp2_data_aux_data *aux_data; /* DATA frame */
aux_data = &item->aux_data.data; aux_data = &item->aux_data.data;
@ -2618,10 +2620,6 @@ static int session_after_frame_sent2(nghttp2_session *session) {
aob->item = NULL; aob->item = NULL;
active_outbound_item_reset(&session->aob, mem); active_outbound_item_reset(&session->aob, mem);
return 0;
}
/* Unreachable */
assert(0);
return 0; return 0;
} }