Fix vet errors

This commit is contained in:
flysand7
2024-09-19 21:07:08 +11:00
parent e0bb07728d
commit bec09d82df

View File

@@ -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)