mirror of
https://github.com/rclone/rclone.git
synced 2024-11-23 00:43:49 +01:00
dropbox/dbhash: fix errcheck warning
This commit is contained in:
parent
52e96bc0e2
commit
71028e0f06
@ -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 New Issue
Block a user