From 71028e0f0691a1f422668f1fe7528cf0698da06a Mon Sep 17 00:00:00 2001 From: Nick Craig-Wood Date: Tue, 30 May 2017 22:08:49 +0100 Subject: [PATCH] dropbox/dbhash: fix errcheck warning --- dropbox/dbhash/dbhash.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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