diff options
author | Russ Cox <rsc@golang.org> | 2009-09-14 21:03:53 -0700 |
---|---|---|
committer | Russ Cox <rsc@golang.org> | 2009-09-14 21:03:53 -0700 |
commit | 1a3198907bf18ac961762024cf2a27581e6be6c3 (patch) | |
tree | 026f00b9ffbf7b5b865b8a3c9749c1499e2b182a /test/bigalg.go | |
parent | 59914723df0b120961477040673c21bc88378f92 (diff) | |
download | go-1a3198907bf18ac961762024cf2a27581e6be6c3.tar.gz go-1a3198907bf18ac961762024cf2a27581e6be6c3.zip |
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
Diffstat (limited to 'test/bigalg.go')
-rw-r--r-- | test/bigalg.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/bigalg.go b/test/bigalg.go index dba8cc4dd1..89ece01b98 100644 --- a/test/bigalg.go +++ b/test/bigalg.go @@ -22,7 +22,6 @@ var a = []int{ 1, 2, 3 } var NIL []int; func arraycmptest() { - a1 := a; if NIL != nil { println("fail1:", NIL, "!= nil"); } @@ -112,6 +111,7 @@ func interfacetest() { i = e; e1 := i.(E); // nothing to check; just verify it doesn't crash + _ = e1; } func main() { |