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
b419bfd9
Commit
b419bfd9
authored
Feb 24, 2021
by
Tatsuhiro Tsujikawa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove unused field
parent
e406a2c1
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
7 deletions
+5
-7
lib/nghttp2_map.c
lib/nghttp2_map.c
+0
-1
lib/nghttp2_map.h
lib/nghttp2_map.h
+5
-6
No files found.
lib/nghttp2_map.c
View file @
b419bfd9
...
...
@@ -130,7 +130,6 @@ int nghttp2_map_each(nghttp2_map *map,
void
nghttp2_map_entry_init
(
nghttp2_map_entry
*
entry
,
key_type
key
)
{
entry
->
key
=
key
;
entry
->
next
=
NULL
;
}
/* FNV1a hash */
...
...
lib/nghttp2_map.h
View file @
b419bfd9
...
...
@@ -40,12 +40,11 @@
typedef
int32_t
key_type
;
typedef
struct
nghttp2_map_entry
{
struct
nghttp2_map_entry
*
next
;
key_type
key
;
#if SIZEOF_INT_P == 4
/* we requires 8 bytes aligment */
int64_t
pad
;
#endif
union
{
key_type
key
;
/* we requires 8 bytes aligment */
int64_t
pad
;
};
}
nghttp2_map_entry
;
typedef
struct
nghttp2_map_bucket
{
...
...
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