瀏覽代碼

make -vet happy

jason 8 月之前
父節點
當前提交
c11dccf210
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      core/sys/linux/wrappers.odin

+ 1 - 1
core/sys/linux/wrappers.odin

@@ -92,7 +92,7 @@ dirent_name :: proc "contextless" (dirent: ^Dirent) -> string #no_bounds_check {
 
 	trunc := min(str_size, 8)
 	str_size -= trunc
-	for i in 0..<trunc {
+	for _ in 0..<trunc {
 		str_size += 1
 		if str[str_size] == 0 {
 			break