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/interface/pointer.go | 1 - 1 file changed, 1 deletion(-) (limited to 'test/interface/pointer.go') diff --git a/test/interface/pointer.go b/test/interface/pointer.go index d94ec7cad..be24952ff 100644 --- a/test/interface/pointer.go +++ b/test/interface/pointer.go @@ -30,7 +30,6 @@ func AddInst(Inst) *Inst { } func main() { - re := new(Regexp); print("call addinst\n"); var x Inst = AddInst(new(Start)); // ERROR "illegal|incompatible|is not" print("return from addinst\n"); -- cgit v1.2.3