mirror of
https://github.com/odin-lang/Odin.git
synced 2026-08-18 03:12:10 +00:00
Merge pull request #7330 from dhanton/fix/unused-variable-in-fixed-point-write
Fix compilation error when using the fixed-point write procedure and -vet-unused
This commit is contained in:
@@ -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])
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user