From 4f949157adc4563d6461c72a312f7d90519a0197 Mon Sep 17 00:00:00 2001 From: Fedor Korotkiy Date: Sat, 14 Mar 2020 15:14:35 +0300 Subject: [PATCH] Fix linter warning --- keylock/speed_test.go | 1 + 1 file changed, 1 insertion(+) diff --git a/keylock/speed_test.go b/keylock/speed_test.go index 5a3daf0..783e200 100644 --- a/keylock/speed_test.go +++ b/keylock/speed_test.go @@ -14,6 +14,7 @@ func BenchmarkMutex_Baseline(b *testing.B) { b.RunParallel(func(pb *testing.PB) { for pb.Next() { mu.Lock() + _ = 0 mu.Unlock() } })