浏览代码

Keep `-vet` happy

gingerBill 2 年之前
父节点
当前提交
521ed28632
共有 1 个文件被更改,包括 1 次插入1 次删除
  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
 		// if we do not implement backward shift deletion
 		PROBE_COUNT :: 8
-		for i in 0..<PROBE_COUNT {
+		for _ in 0..<PROBE_COUNT {
 			next_index := (curr_index + 1) & mask
 			if next_index == index {
 				// looped around