dropbox/dbhash: fix errcheck warning

This commit is contained in:
Nick Craig-Wood 2017-05-30 22:08:49 +01:00
parent 52e96bc0e2
commit 71028e0f06

View file

@ -117,7 +117,7 @@ func (d *digest) BlockSize() int {
func Sum(data []byte) [Size]byte {
var d digest
d.Reset()
d.Write(data)
_, _ = d.Write(data)
var out [Size]byte
d.Sum(out[:0])
return out