mirror of
https://github.com/odin-lang/Odin.git
synced 2026-06-10 20:38:09 +00:00
Fix fmt with -vet
This commit is contained in:
@@ -1297,7 +1297,7 @@ fmt_value :: proc(fi: ^Info, v: any, verb: rune) {
|
||||
v := v;
|
||||
w := len(buf);
|
||||
print := false;
|
||||
for i in 0..<prec {
|
||||
for in 0..<prec {
|
||||
digit := v % 10;
|
||||
print = print || digit != 0;
|
||||
if print {
|
||||
|
||||
Reference in New Issue
Block a user