Remove append no-op!
This commit is contained in:
parent
2cbec0cf93
commit
ce0c1dc2f8
@ -88,7 +88,6 @@ func dataSplit(b []byte, enc byte) ([][]byte, error) {
|
||||
|
||||
if result[1][0] == 0 {
|
||||
// there was a double (or triple) 0 and we cut too early
|
||||
result[0] = append(result[0], make([]byte, 0)...)
|
||||
result[1] = result[1][1:]
|
||||
}
|
||||
return result, nil
|
||||
|
Loading…
Reference in New Issue
Block a user