mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-06 07:38:48 +00:00
Fix fmt with -vet
This commit is contained in:
+1
-1
@@ -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 {
|
||||||
|
|||||||
Reference in New Issue
Block a user