Skip to content

Commit

Permalink
Fix compile error with gcc
Browse files Browse the repository at this point in the history
  • Loading branch information
tatsuhiro-t committed Jul 31, 2015
1 parent 0bbff5b commit c941bff
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions tests/nghttp2_session_test.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit c941bff

Please sign in to comment.