diff --git a/core/math/fixed/fixed.odin b/core/math/fixed/fixed.odin index 6b9ef364b..65d7af772 100644 --- a/core/math/fixed/fixed.odin +++ b/core/math/fixed/fixed.odin @@ -148,7 +148,7 @@ write :: proc(dst: []byte, x: $T/Fixed($Backing, $Fraction_Width)) -> string { } } - n := copy(dst, buf[:i]) + copy(dst, buf[:i]) return string(dst[:i]) }