summaryrefslogtreecommitdiffstats
path: root/heap.c
diff options
context:
space:
mode:
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;