Skip to content
This repository was archived by the owner on Feb 26, 2024. It is now read-only.

Commit e4ba95f

Browse files
committed
fix merge
1 parent 7475854 commit e4ba95f

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

lib/writebuffer/buffer.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ func (wb *WriteBuffer) Write(data []byte) (int, error) {
3131
}
3232
wb.chunks[chunkIdx] = append(wb.chunks[chunkIdx], data[:freeSize]...)
3333
data = data[freeSize:]
34-
dataSize = dataSize - freeSize
3534
wb.addChunk(0, wb.calcCap(len(data)))
3635
chunkIdx++
3736
}

0 commit comments

Comments
 (0)