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

@@ -116,7 +116,7 @@ func Validate(buf, hash []byte, weakHash uint32) bool {
return true
}
// Copy error or mismatch, go to next algo.
rd.Seek(0, io.SeekStart)
_, _ = rd.Seek(0, io.SeekStart)
}
if len(hash) > 0 {