Fix compile error with gcc

This commit is contained in:
Tatsuhiro Tsujikawa 2015-07-31 21:27:36 +09:00
parent 0bbff5b738
commit c941bff929
1 changed files with 0 additions and 3 deletions

View File

@ -7665,15 +7665,12 @@ static int submit_response_on_stream_close(nghttp2_session *session,
void test_nghttp2_session_detach_item_from_closed_stream(void) {
nghttp2_session *session;
nghttp2_session_callbacks callbacks;
nghttp2_data_provider data_prd;
memset(&callbacks, 0, sizeof(callbacks));
callbacks.send_callback = null_send_callback;
callbacks.on_stream_close_callback = submit_response_on_stream_close;
data_prd.read_callback = temporal_failure_data_source_read_callback;
nghttp2_session_server_new(&session, &callbacks, NULL);
open_stream(session, 1);