all: Even more boring linter fixes (#5501)

This commit is contained in:
Jakob Borg
2019-02-02 11:45:17 +01:00
committed by GitHub
parent df5c1eaf01
commit 0b2cabbc31
28 changed files with 131 additions and 104 deletions

View File

@@ -42,7 +42,7 @@ func BenchmarkWeakHashAdler32(b *testing.B) {
hf := adler32.New()
for i := 0; i < b.N; i++ {
hf.Write(data)
_, _ = hf.Write(data)
}
_ = hf.Sum32()
@@ -52,7 +52,7 @@ func BenchmarkWeakHashAdler32(b *testing.B) {
func BenchmarkWeakHashAdler32Roll(b *testing.B) {
data := make([]byte, size)
hf := adler32.New()
hf.Write(data)
_, _ = hf.Write(data)
b.ResetTimer()
@@ -70,7 +70,7 @@ func BenchmarkWeakHashRabinKarp64(b *testing.B) {
hf := rabinkarp64.New()
for i := 0; i < b.N; i++ {
hf.Write(data)
_, _ = hf.Write(data)
}
_ = hf.Sum64()