diff --git a/tests/nghttp2_session_test.c b/tests/nghttp2_session_test.c index 97ca582f..45a80a98 100644 --- a/tests/nghttp2_session_test.c +++ b/tests/nghttp2_session_test.c @@ -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);