aboutsummaryrefslogtreecommitdiff
path: root/src/std
diff options
context:
space:
mode:
Diffstat (limited to 'src/std')
-rw-r--r--src/std/hash_map.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/std/hash_map.c b/src/std/hash_map.c
index 44d36db..968a5ea 100644
--- a/src/std/hash_map.c
+++ b/src/std/hash_map.c
@@ -10,11 +10,6 @@ struct TslHashMapNode {
TslHashMapNode *next;
};
-static void hash_map_node_init(TslHashMapNode *self) {
- self->data = NULL;
- self->next = NULL;
-}
-
static void hash_map_node_get(TslHashMapNode *self, uint64_t *hash, TslStringView *key, size_t *size, uint8_t **data) {
memcpy(hash, (uint8_t*)self->data, sizeof(uint64_t));
memcpy(&key->size, (uint8_t*)self->data + sizeof(uint64_t), sizeof(key->size));