]> Cypherpunks repositories - gostls13.git/commitdiff
fix build
authorRobert Griesemer <gri@golang.org>
Mon, 12 Jul 2010 21:53:28 +0000 (14:53 -0700)
committerRobert Griesemer <gri@golang.org>
Mon, 12 Jul 2010 21:53:28 +0000 (14:53 -0700)
R=rsc
CC=golang-dev
https://golang.org/cl/1815042

test/fixedbugs/bug243.go

index 690e0a1bc25598fae773ea8a8e229391525522b4..357f22eb274c56afb2197de6fc449f922b8dce8a 100644 (file)
@@ -8,7 +8,6 @@
 package main
 
 import (
-       "fmt"
        "net"
 )
 
@@ -18,8 +17,10 @@ func main() {
        go func() {
                for {
                        var conn, _ = listen.Accept()
+                       _ = conn
                }
        }()
 
        var conn, _ = net.Dial("tcp", "", listen.Addr().String())
+       _ = conn
 }