Skip to content

Commit

Permalink
Remove unused field
Browse files Browse the repository at this point in the history
  • Loading branch information
tatsuhiro-t committed Feb 22, 2021
1 parent e725a51 commit 66ad30f
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion lib/nghttp3_map.c
Expand Up @@ -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 */
Expand Down
1 change: 0 additions & 1 deletion lib/nghttp3_map.h
Expand Up @@ -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;
};

Expand Down
1 change: 0 additions & 1 deletion lib/nghttp3_qpack.c
Expand Up @@ -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;
Expand Down

0 comments on commit 66ad30f

Please sign in to comment.