Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
nghttp2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Libraries
nghttp2
Commits
16647622
Commit
16647622
authored
Apr 09, 2016
by
Tatsuhiro Tsujikawa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix compile error with gcc and --enable-werror
parent
9028512a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
6 deletions
+0
-6
tests/nghttp2_session_test.c
tests/nghttp2_session_test.c
+0
-6
No files found.
tests/nghttp2_session_test.c
View file @
16647622
...
...
@@ -3487,14 +3487,11 @@ void test_nghttp2_session_on_altsvc_received(void) {
nghttp2_session_callbacks
callbacks
;
my_user_data
ud
;
nghttp2_frame
frame
;
nghttp2_mem
*
mem
;
nghttp2_option
*
option
;
uint8_t
origin
[]
=
"nghttp2.org"
;
uint8_t
field_value
[]
=
"h2=
\"
:443
\"
"
;
int
rv
;
mem
=
nghttp2_mem_default
();
memset
(
&
callbacks
,
0
,
sizeof
(
nghttp2_session_callbacks
));
callbacks
.
on_frame_recv_callback
=
on_frame_recv_callback
;
...
...
@@ -5445,7 +5442,6 @@ void test_nghttp2_submit_extension(void) {
void
test_nghttp2_submit_altsvc
(
void
)
{
nghttp2_session
*
session
;
nghttp2_session_callbacks
callbacks
;
nghttp2_mem
*
mem
;
my_user_data
ud
;
int
rv
;
ssize_t
len
;
...
...
@@ -5453,8 +5449,6 @@ void test_nghttp2_submit_altsvc(void) {
nghttp2_frame_hd
hd
;
size_t
origin_len
;
mem
=
nghttp2_mem_default
();
memset
(
&
callbacks
,
0
,
sizeof
(
nghttp2_session_callbacks
));
nghttp2_session_server_new
(
&
session
,
&
callbacks
,
&
ud
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment