Commit 89c3c085 authored by Tatsuhiro Tsujikawa's avatar Tatsuhiro Tsujikawa

tests: Fix compiler warning

parent 83309b63
...@@ -6454,7 +6454,7 @@ void test_nghttp2_session_delete_data_item(void) ...@@ -6454,7 +6454,7 @@ void test_nghttp2_session_delete_data_item(void)
{ {
nghttp2_session *session; nghttp2_session *session;
nghttp2_session_callbacks callbacks; nghttp2_session_callbacks callbacks;
nghttp2_stream *a, *b; nghttp2_stream *a;
nghttp2_data_provider prd; nghttp2_data_provider prd;
memset(&callbacks, 0, sizeof(callbacks)); memset(&callbacks, 0, sizeof(callbacks));
...@@ -6462,7 +6462,7 @@ void test_nghttp2_session_delete_data_item(void) ...@@ -6462,7 +6462,7 @@ void test_nghttp2_session_delete_data_item(void)
nghttp2_session_server_new(&session, &callbacks, NULL); nghttp2_session_server_new(&session, &callbacks, NULL);
a = open_stream(session, 1); a = open_stream(session, 1);
b = open_stream_with_dep(session, 3, a); open_stream_with_dep(session, 3, a);
/* We don't care about these members, since we won't send data */ /* We don't care about these members, since we won't send data */
prd.source.ptr = NULL; prd.source.ptr = NULL;
......
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