Commit e0f5361
committed
calcHash: remove unneeded h.Write() error checks
According to the Go hash package documentation [1]:
type Hash interface {
// Write (via the embedded io.Writer interface) adds more data to the running hash.
// It never returns an error.
io.Writer
[1] https://pkg.go.dev/hash#Hash1 parent 3737979 commit e0f5361
1 file changed
+3
-12
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
654 | 654 | | |
655 | 655 | | |
656 | 656 | | |
657 | | - | |
658 | | - | |
659 | | - | |
660 | | - | |
| 657 | + | |
661 | 658 | | |
662 | 659 | | |
663 | 660 | | |
664 | | - | |
665 | | - | |
666 | | - | |
667 | | - | |
| 661 | + | |
668 | 662 | | |
669 | | - | |
670 | | - | |
671 | | - | |
672 | | - | |
| 663 | + | |
673 | 664 | | |
674 | 665 | | |
675 | 666 | | |
| |||
0 commit comments