diff --git a/base/runtime/heap_allocator.odin b/base/runtime/heap_allocator.odin index 7347696f4..4b04dffef 100644 --- a/base/runtime/heap_allocator.odin +++ b/base/runtime/heap_allocator.odin @@ -40,7 +40,6 @@ heap_allocator_proc :: proc(allocator_data: rawptr, mode: Allocator_Mode, ptr := uintptr(aligned_mem) aligned_ptr := (ptr + uintptr(a)-1) & ~(uintptr(a)-1) - diff := int(aligned_ptr - ptr) if allocated_mem == nil { aligned_free(old_ptr) aligned_free(allocated_mem)