derp: fix staticcheck warning

Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
pull/86/head
Brad Fitzpatrick 5 years ago
parent 322cb58b14
commit 1166c34f6c

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

Loading…
Cancel
Save