commit 3f18f71ed305b255934114951950525f89fbfcb0 Author: David Fifield david@bamsoftware.com Date: Sun Jan 12 21:26:43 2014 -0800
Remove unreachable code "go vet" complained about. --- examples/dummy-client/dummy-client.go | 1 - examples/dummy-server/dummy-server.go | 1 - 2 files changed, 2 deletions(-)
diff --git a/examples/dummy-client/dummy-client.go b/examples/dummy-client/dummy-client.go index e1cede5..a0fa488 100644 --- a/examples/dummy-client/dummy-client.go +++ b/examples/dummy-client/dummy-client.go @@ -78,7 +78,6 @@ func acceptLoop(ln *pt.SocksListener) error { } go handler(conn) } - return nil }
func main() { diff --git a/examples/dummy-server/dummy-server.go b/examples/dummy-server/dummy-server.go index 94b7bb6..7e8ad96 100644 --- a/examples/dummy-server/dummy-server.go +++ b/examples/dummy-server/dummy-server.go @@ -75,7 +75,6 @@ func acceptLoop(ln net.Listener) error { } go handler(conn) } - return nil }
func main() {