Browse Source

Keep -vet happy

gingerBill 4 years ago
parent
commit
89cceb910a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      core/runtime/dynamic_map_internal.odin

+ 1 - 1
core/runtime/dynamic_map_internal.odin

@@ -143,7 +143,7 @@ __slice_resize :: proc(array_: ^$T/[]$E, new_count: int, allocator: Allocator, l
 
 
 __dynamic_map_fix_keys :: proc(h: Map_Header) {
 __dynamic_map_fix_keys :: proc(h: Map_Header) {
 	e := (^Map_Entry_Header)(h.m.entries.data);
 	e := (^Map_Entry_Header)(h.m.entries.data);
-	for i in 0..<h.m.entries.len {
+	for _ in 0..<h.m.entries.len {
 		e.hash.key_ptr = rawptr(uintptr(e) + h.key_offset);
 		e.hash.key_ptr = rawptr(uintptr(e) + h.key_offset);
 		e = (^Map_Entry_Header)(uintptr(e) + uintptr(h.entry_size));
 		e = (^Map_Entry_Header)(uintptr(e) + uintptr(h.entry_size));
 	}
 	}