From: Robert Griesemer Date: Tue, 17 Sep 2013 22:24:54 +0000 (-0700) Subject: test: avoid future 'declared and not used' error X-Git-Tag: go1.2rc2~179 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=99d87720ad8bf1390f87f441a811f28702934196;p=gostls13.git test: avoid future 'declared and not used' error See also issue 6414. R=r CC=golang-dev https://golang.org/cl/13683044 --- diff --git a/test/escape2.go b/test/escape2.go index 5122356bf9..be89c2d840 100644 --- a/test/escape2.go +++ b/test/escape2.go @@ -1136,6 +1136,7 @@ func foo126() { px = &i // ERROR "&i escapes" }() } + _ = px } var px *int