diff --git a/lib/nghttp3_map.c b/lib/nghttp3_map.c index e8eb811..a80955a 100644 --- a/lib/nghttp3_map.c +++ b/lib/nghttp3_map.c @@ -131,7 +131,6 @@ int nghttp3_map_each(nghttp3_map *map, void nghttp3_map_entry_init(nghttp3_map_entry *entry, key_type key) { entry->key = key; - entry->next = NULL; } /* FNV1a hash */ diff --git a/lib/nghttp3_map.h b/lib/nghttp3_map.h index 4dc9925..2eae2e7 100644 --- a/lib/nghttp3_map.h +++ b/lib/nghttp3_map.h @@ -43,7 +43,6 @@ typedef uint64_t key_type; typedef struct nghttp3_map_entry nghttp3_map_entry; struct nghttp3_map_entry { - nghttp3_map_entry *next; key_type key; }; diff --git a/lib/nghttp3_qpack.c b/lib/nghttp3_qpack.c index 4aae1a5..6837942 100644 --- a/lib/nghttp3_qpack.c +++ b/lib/nghttp3_qpack.c @@ -1714,7 +1714,6 @@ int nghttp3_qpack_stream_new(nghttp3_qpack_stream **pstream, int64_t stream_id, nghttp3_pq_init(&stream->max_cnts, ref_max_cnt_greater, mem); - stream->me.next = NULL; stream->me.key = (uint64_t)stream_id; *pstream = stream;