Fix linter warning

This commit is contained in:
Fedor Korotkiy 2020-03-14 15:14:35 +03:00
parent 51d12b7db7
commit 4f949157ad

View file

@ -14,6 +14,7 @@ func BenchmarkMutex_Baseline(b *testing.B) {
b.RunParallel(func(pb *testing.PB) { b.RunParallel(func(pb *testing.PB) {
for pb.Next() { for pb.Next() {
mu.Lock() mu.Lock()
_ = 0
mu.Unlock() mu.Unlock()
} }
}) })