Pārlūkot izejas kodu

Merge pull request #3385 from blob1807/fixed-removed-undefined-var

core:math/fixed Removed undefined & usused vars in init_from_parts
Jeroen van Rijn 1 gadu atpakaļ
vecāks
revīzija
cd6153a125
1 mainītis faili ar 0 papildinājumiem un 1 dzēšanām
  1. 0 1
      core/math/fixed/fixed.odin

+ 0 - 1
core/math/fixed/fixed.odin

@@ -39,7 +39,6 @@ init_from_f64 :: proc(x: ^$T/Fixed($Backing, $Fraction_Width), val: f64) {
 }
 
 init_from_parts :: proc(x: ^$T/Fixed($Backing, $Fraction_Width), integer, fraction: Backing) {
-	i, f := math.modf(val)
 	x.i  = fraction
 	x.i &= 1<<Fraction_Width - 1
 	x.i |= integer