From fde4e8c9054cad0246cf4847f5e02a19d8c3af6d Mon Sep 17 00:00:00 2001 From: blob1807 <12388588+blob1807@users.noreply.github.com> Date: Sat, 6 Apr 2024 21:49:50 +1000 Subject: [PATCH] Removed undefined & usused vars Removed undefined& usused vars in init_from_parts --- core/math/fixed/fixed.odin | 1 - 1 file changed, 1 deletion(-) diff --git a/core/math/fixed/fixed.odin b/core/math/fixed/fixed.odin index b8000a5c6..21fab5faf 100644 --- a/core/math/fixed/fixed.odin +++ b/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<