From c67478eb2cfefebf09d0c648efa24bb9578078ba Mon Sep 17 00:00:00 2001 From: Russ Cox Date: Mon, 14 Sep 2009 21:03:53 -0700 Subject: fix "declared and not used" in tests; also template/template.go, missed last time. R=r DELTA=116 (61 added, 10 deleted, 45 changed) OCL=34620 CL=34622 --- test/fixedbugs/bug187.go | 1 - 1 file changed, 1 deletion(-) (limited to 'test/fixedbugs/bug187.go') diff --git a/test/fixedbugs/bug187.go b/test/fixedbugs/bug187.go index 12389e797..66aa5f024 100644 --- a/test/fixedbugs/bug187.go +++ b/test/fixedbugs/bug187.go @@ -12,7 +12,6 @@ func main() { // This bug doesn't arise with [...]int, or []interface{} or [3]interface{}. a := [...]interface{} { 1, 2, 3 }; n := 1; - bug := false; for _, v := range a { if v.(int) != n { println("BUG:", n, v.(int)); -- cgit v1.2.3