🎨 Clean code

Signed-off-by: Daniel <845765@qq.com>
This commit is contained in:
Daniel 2025-10-28 10:13:36 +08:00
parent 163a809758
commit 920f7e4623
No known key found for this signature in database
GPG key ID: 86211BA83DF03017

View file

@ -80,7 +80,6 @@ func BlockCount(fsize int64) int {
}
func CalSha1(b []byte, r io.Reader) ([]byte, error) {
h := sha1.New()
_, err := io.Copy(h, r)
if err != nil {