Browse Source

Fix fmt with -vet

gingerBill 4 years ago
parent
commit
6b634d5e46
1 changed files with 1 additions and 1 deletions
  1. 1 1
      core/fmt/fmt.odin

+ 1 - 1
core/fmt/fmt.odin

@@ -1297,7 +1297,7 @@ fmt_value :: proc(fi: ^Info, v: any, verb: rune) {
 				v := v;
 				v := v;
 				w := len(buf);
 				w := len(buf);
 				print := false;
 				print := false;
-				for i in 0..<prec {
+				for in 0..<prec {
 					digit := v % 10;
 					digit := v % 10;
 					print = print || digit != 0;
 					print = print || digit != 0;
 					if print {
 					if print {