summaryrefslogtreecommitdiffstats
path: root/heap.c
diff options
context:
space:
mode:
authorJon Santmyer <jon@jonsantmyer.com>2021-12-12 17:33:14 -0500
committerJon Santmyer <jon@jonsantmyer.com>2021-12-12 17:33:14 -0500
commitcc8beb0a8b6b83b884b2f310b766700816cf3680 (patch)
tree2fc8c4be59208dc88c59b40182ff7f4d2f9d65c1 /heap.c
parent2bc4d6b92189beb8969e2846a84a2f19e267ca53 (diff)
downloaddiheap-master.tar.gz
diheap-master.tar.bz2
diheap-master.zip
add perf test suite; fix warningsHEADv1.0master
Diffstat (limited to 'heap.c')
-rw-r--r--heap.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/heap.c b/heap.c
index f2ff57e..64efc11 100644
--- a/heap.c
+++ b/heap.c
@@ -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;