Browse Source

Fix vet errors

flysand7 11 months ago
parent
commit
bec09d82df
1 changed files with 0 additions and 1 deletions
  1. 0 1
      base/runtime/heap_allocator.odin

+ 0 - 1
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)