Commit b419bfd9 authored by Tatsuhiro Tsujikawa's avatar Tatsuhiro Tsujikawa

Remove unused field

parent e406a2c1
......@@ -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 */
......
......@@ -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 {
......
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