diff --git a/progress.go b/progress.go index f6345b4..d95fe45 100644 --- a/progress.go +++ b/progress.go @@ -198,7 +198,7 @@ } } -func (s *pState) flush(lineCount int) (err error) { +func (s *pState) flush(lineCount int) error { for s.bHeap.Len() > 0 { bar := heap.Pop(s.bHeap).(*Bar) frameReader := <-bar.frameReaderCh