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
1 changed files with 0 additions and 2 deletions

View File

@ -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 {