derp: fix staticcheck warning

Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
This commit is contained in:
Brad Fitzpatrick 2020-02-20 14:49:47 -08:00
parent 322cb58b14
commit 1166c34f6c

View File

@ -41,7 +41,6 @@ func TestSendRecv(t *testing.T) {
} }
defer ln.Close() defer ln.Close()
var clientConns []net.Conn
var clients []*Client var clients []*Client
var recvChs []chan []byte var recvChs []chan []byte
errCh := make(chan error, 3) errCh := make(chan error, 3)
@ -53,7 +52,6 @@ func TestSendRecv(t *testing.T) {
t.Fatal(err) t.Fatal(err)
} }
defer cout.Close() defer cout.Close()
clientConns = append(clientConns, cout)
cin, err := ln.Accept() cin, err := ln.Accept()
if err != nil { if err != nil {