Skip to content

"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files

dropbox/dbhash: fix errcheck warning

Nick Craig-Wood71028e0f0691
diff --git a/dropbox/dbhash/dbhash.go b/dropbox/dbhash/dbhash.go
index 34f06f272..3cdc5d7b6 100644
--- a/dropbox/dbhash/dbhash.go
+++ b/dropbox/dbhash/dbhash.go
@@ -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