Skip to content

Commit 66ad30f

Browse files
committed
Remove unused field
1 parent e725a51 commit 66ad30f

File tree

3 files changed

+0
-3
lines changed

3 files changed

+0
-3
lines changed

lib/nghttp3_map.c

-1
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,6 @@ int nghttp3_map_each(nghttp3_map *map,
131131

132132
void nghttp3_map_entry_init(nghttp3_map_entry *entry, key_type key) {
133133
entry->key = key;
134-
entry->next = NULL;
135134
}
136135

137136
/* FNV1a hash */

lib/nghttp3_map.h

-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@ typedef uint64_t key_type;
4343
typedef struct nghttp3_map_entry nghttp3_map_entry;
4444

4545
struct nghttp3_map_entry {
46-
nghttp3_map_entry *next;
4746
key_type key;
4847
};
4948

lib/nghttp3_qpack.c

-1
Original file line numberDiff line numberDiff line change
@@ -1714,7 +1714,6 @@ int nghttp3_qpack_stream_new(nghttp3_qpack_stream **pstream, int64_t stream_id,
17141714

17151715
nghttp3_pq_init(&stream->max_cnts, ref_max_cnt_greater, mem);
17161716

1717-
stream->me.next = NULL;
17181717
stream->me.key = (uint64_t)stream_id;
17191718

17201719
*pstream = stream;

0 commit comments

Comments
 (0)