From 08d5f017b9928c170b48e445bc1126b05f0c6470 Mon Sep 17 00:00:00 2001 From: "Masih H. Derkani" Date: Mon, 19 Jul 2021 17:13:35 +0100 Subject: [PATCH] Address `staticcheck` issue Remove unused variable in test that caused U1000 Relates to: - https://github.com/orgs/ipfs/projects/12#card-58209321 --- base36_test.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/base36_test.go b/base36_test.go index 4d7c089..497d492 100644 --- a/base36_test.go +++ b/base36_test.go @@ -79,8 +79,6 @@ func TestPermute(t *testing.T) { var benchmarkBuf [36]byte // typical CID size var benchmarkDecodeTgt string -var benchmarkCodecs []string - func init() { rand.Read(benchmarkBuf[:]) benchmarkDecodeTgt = testEncoders[0](benchmarkBuf[:])