dropbox/dbhash: fix errcheck warning
This commit is contained in:
parent
52e96bc0e2
commit
71028e0f06
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue