Browse Source

Keep `-vet` happy

gingerBill 2 years ago
parent
commit
521ed28632
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

@@ -644,7 +644,7 @@ map_erase_dynamic :: #force_inline proc "contextless" (#no_alias m: ^Raw_Map, #n
 		// TODO(bill): determine a good value for this empirically
 		// TODO(bill): determine a good value for this empirically
 		// if we do not implement backward shift deletion
 		// if we do not implement backward shift deletion
 		PROBE_COUNT :: 8
 		PROBE_COUNT :: 8
-		for i in 0..<PROBE_COUNT {
+		for _ in 0..<PROBE_COUNT {
 			next_index := (curr_index + 1) & mask
 			next_index := (curr_index + 1) & mask
 			if next_index == index {
 			if next_index == index {
 				// looped around
 				// looped around