Commit 0c70ff56 authored by Tatsuhiro Tsujikawa's avatar Tatsuhiro Tsujikawa

Simplify

parent ba671a84
......@@ -2556,6 +2556,8 @@ static int session_after_frame_sent2(nghttp2_session *session) {
nghttp2_bufs *framebufs = &aob->framebufs;
nghttp2_frame *frame;
nghttp2_mem *mem;
nghttp2_stream *stream;
nghttp2_data_aux_data *aux_data;
mem = &session->mem;
frame = &item->frame;
......@@ -2578,9 +2580,9 @@ static int session_after_frame_sent2(nghttp2_session *session) {
active_outbound_item_reset(&session->aob, mem);
return 0;
} else {
nghttp2_stream *stream;
nghttp2_data_aux_data *aux_data;
}
/* DATA frame */
aux_data = &item->aux_data.data;
......@@ -2618,10 +2620,6 @@ static int session_after_frame_sent2(nghttp2_session *session) {
aob->item = NULL;
active_outbound_item_reset(&session->aob, mem);
return 0;
}
/* Unreachable */
assert(0);
return 0;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment