Skip to content

Commit

Permalink
Remove useless assignment
Browse files Browse the repository at this point in the history
  • Loading branch information
cespare committed Nov 20, 2020
1 parent a7909af commit fd5c34b
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion xxhash.go
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,6 @@ func (d *Digest) UnmarshalBinary(b []byte) error {
b, d.v4 = consumeUint64(b)
b, d.total = consumeUint64(b)
copy(d.mem[:], b)
b = b[len(d.mem):]
d.n = int(d.total % uint64(len(d.mem)))
return nil
}
Expand Down

0 comments on commit fd5c34b

Please sign in to comment.