From 1166c34f6c86b1432922172d7df8f1a222f483cc Mon Sep 17 00:00:00 2001 From: Brad Fitzpatrick Date: Thu, 20 Feb 2020 14:49:47 -0800 Subject: [PATCH] derp: fix staticcheck warning Signed-off-by: Brad Fitzpatrick --- derp/derp_test.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/derp/derp_test.go b/derp/derp_test.go index 6be3b4bfe..397bb2b37 100644 --- a/derp/derp_test.go +++ b/derp/derp_test.go @@ -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 {