diff options
author | Jon Santmyer <jon@jonsantmyer.com> | 2021-12-12 17:33:14 -0500 |
---|---|---|
committer | Jon Santmyer <jon@jonsantmyer.com> | 2021-12-12 17:33:14 -0500 |
commit | cc8beb0a8b6b83b884b2f310b766700816cf3680 (patch) | |
tree | 2fc8c4be59208dc88c59b40182ff7f4d2f9d65c1 /heap.c | |
parent | 2bc4d6b92189beb8969e2846a84a2f19e267ca53 (diff) | |
download | diheap-master.tar.gz diheap-master.tar.bz2 diheap-master.zip |
Diffstat (limited to 'heap.c')
-rw-r--r-- | heap.c | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -35,7 +35,6 @@ heap_create(struct heap *heap, uintptr_t at, size_t len) { struct crate *firstcrate = NULL; struct bucket *cratebucket = NULL; - struct bucket *freebucket = NULL; memset(heap, 0, sizeof(struct heap)); @@ -97,7 +96,6 @@ struct bucket* __heap_crate_create(struct heap *heap) { size_t remaining = heap->size - heap->used; - struct bucket *head = heap->buckets_head; struct bucket *crate_bucket = NULL; struct crate *crate = NULL; |