diff options
| author | flysand7 <thebumboni@gmail.com> | 2024-09-19 21:07:08 +1100 |
|---|---|---|
| committer | flysand7 <thebumboni@gmail.com> | 2024-09-19 21:07:08 +1100 |
| commit | bec09d82df46d50cfa4e9cc5b3cc1c94b786b320 (patch) | |
| tree | ad68c749f2bc6fa29cf0f5b2ce59c1b85586b237 | |
| parent | e0bb07728d90c870abff6db8a3025b429b3bc37b (diff) | |
Fix vet errors
| -rw-r--r-- | base/runtime/heap_allocator.odin | 1 |
1 files changed, 0 insertions, 1 deletions
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) |