From bec09d82df46d50cfa4e9cc5b3cc1c94b786b320 Mon Sep 17 00:00:00 2001 From: flysand7 Date: Thu, 19 Sep 2024 21:07:08 +1100 Subject: [PATCH] Fix vet errors --- base/runtime/heap_allocator.odin | 1 - 1 file changed, 1 deletion(-) 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)