chore(gopher): remove unused lineCount variable
This commit is contained in:
@@ -228,7 +228,6 @@ func (p *Protocol) downloadText(ctx context.Context, reader *bufio.Reader, req *
|
||||
// new one — same convention as Gemini.
|
||||
var bytesWritten int64
|
||||
var skipped int64
|
||||
lineCount := 0
|
||||
|
||||
for {
|
||||
select {
|
||||
@@ -295,7 +294,6 @@ func (p *Protocol) downloadText(ctx context.Context, reader *bufio.Reader, req *
|
||||
}
|
||||
bytesWritten += int64(n)
|
||||
}
|
||||
lineCount++
|
||||
|
||||
if req.ProgressCallback != nil {
|
||||
speed := float64(bytesWritten) / time.Since(startTime).Seconds()
|
||||
|
||||
Reference in New Issue
Block a user