From 8908798f59285d18cb52025dd5541dc29d8643db Mon Sep 17 00:00:00 2001 From: Dmitrii Stepanov Date: Mon, 3 Apr 2023 16:54:57 +0300 Subject: [PATCH] [#203] node: Resolve unused vars Signed-off-by: Dmitrii Stepanov --- pkg/local_object_storage/metabase/get_test.go | 2 -- pkg/local_object_storage/shard/metrics_test.go | 1 - 2 files changed, 3 deletions(-) diff --git a/pkg/local_object_storage/metabase/get_test.go b/pkg/local_object_storage/metabase/get_test.go index d647910d5c..a242a099aa 100644 --- a/pkg/local_object_storage/metabase/get_test.go +++ b/pkg/local_object_storage/metabase/get_test.go @@ -185,8 +185,6 @@ func BenchmarkGet(b *testing.B) { } } -var obj *objectSDK.Object - func benchmarkGet(b *testing.B, numOfObj int) { prepareDb := func(batchSize int) (*meta.DB, []oid.Address) { db := newDB(b, diff --git a/pkg/local_object_storage/shard/metrics_test.go b/pkg/local_object_storage/shard/metrics_test.go index ba46881e21..18e97e259c 100644 --- a/pkg/local_object_storage/shard/metrics_test.go +++ b/pkg/local_object_storage/shard/metrics_test.go @@ -70,7 +70,6 @@ func (m *metricsStore) AddToPayloadSize(size int64) { const physical = "phy" const logical = "logic" -const readonly = "readonly" func TestCounters(t *testing.T) { dir := t.TempDir()