Remove redundant uint32

master
Harshavardhana 10 years ago
parent 9553eb6b4a
commit 9e89af0e3c
  1. 2
      pkg/storage/donut/erasure/erasure1/erasure.go

@ -89,7 +89,7 @@ func Write(target io.Writer, key string, part uint8, length uint32, k, m uint8,
encoder.Encode(header) encoder.Encode(header)
// write version // write version
binary.Write(target, binary.LittleEndian, uint32(Version)) binary.Write(target, binary.LittleEndian, Version)
// write encoded header // write encoded header
if _, err := io.Copy(target, &headerBuffer); err != nil { if _, err := io.Copy(target, &headerBuffer); err != nil {

Loading…
Cancel
Save