diff --git a/src/util.h b/src/util.h index 090c1ecc..c0eb9f2a 100644 --- a/src/util.h +++ b/src/util.h @@ -106,7 +106,6 @@ INLINE void merge_sort(void *items, u64 item_count, u64 item_size, sort_compare_ * ========================== */ struct fixed_dict_entry { - struct string key; void *value; u64 hash; struct fixed_dict_entry *next; @@ -144,7 +143,6 @@ INLINE void fixed_dict_set(struct arena *arena, struct fixed_dict *dict, struct while (entry) { if (hash == entry->hash) { /* Existing match found, replace its contents */ - entry->key = key; entry->value = value; return; } @@ -153,7 +151,6 @@ INLINE void fixed_dict_set(struct arena *arena, struct fixed_dict *dict, struct /* No match found, create new entry */ entry = arena_push(arena, struct fixed_dict_entry); - entry->key = key; entry->value = value; entry->hash = hash; entry->next = bin->entry_head;