From 0ebfa231d21b255d84cfdb8a618cfe397db6c497 Mon Sep 17 00:00:00 2001 From: Russ Cox Date: Tue, 15 Sep 2009 09:41:59 -0700 Subject: more "declared and not used". the last round omitted := range and only checked 1 out of N vars in a multi-var := R=r OCL=34624 CL=34638 --- src/pkg/math/floor.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/pkg/math/floor.go') diff --git a/src/pkg/math/floor.go b/src/pkg/math/floor.go index 1580221ab..7f2c9111d 100644 --- a/src/pkg/math/floor.go +++ b/src/pkg/math/floor.go @@ -14,7 +14,7 @@ func Floor(x float64) float64 { } return -d; } - d, fract := Modf(x); + d, _ := Modf(x); return d; } -- cgit v1.2.3