chore(gopher): remove unused lineCount variable

This commit is contained in:
2026-06-30 11:12:48 +02:00
parent e20f221ead
commit f549a862f8
-2
View File
@@ -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()