mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
all: excise some warts found by vet -shadow
These are not erroneous, just poor or confusing. R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/10448043
This commit is contained in:
parent
ffde4970d0
commit
0bc7e79afd
10 changed files with 19 additions and 23 deletions
|
|
@ -381,7 +381,6 @@ func TestDialer(t *testing.T) {
|
|||
defer ln.Close()
|
||||
ch := make(chan error, 1)
|
||||
go func() {
|
||||
var err error
|
||||
c, err := ln.Accept()
|
||||
if err != nil {
|
||||
ch <- fmt.Errorf("Accept failed: %v", err)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue