From 77b129ec74dd2b805d22a64dcc0f04bf5eaf12f8 Mon Sep 17 00:00:00 2001 From: Michael Eischer Date: Wed, 18 Aug 2021 01:59:36 +0200 Subject: [PATCH] ui: remove unused Summary field --- internal/ui/progress.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/internal/ui/progress.go b/internal/ui/progress.go index 19a2be8dc..66859ba18 100644 --- a/internal/ui/progress.go +++ b/internal/ui/progress.go @@ -61,7 +61,6 @@ type Summary struct { Unchanged uint } ProcessedBytes uint64 - TotalErrors uint archiver.ItemStats } @@ -141,9 +140,6 @@ func (p *Progress) Run(ctx context.Context) error { started = true case <-p.errCh: errors++ - p.summary.Lock() - p.summary.TotalErrors = errors - p.summary.Unlock() started = true case m := <-p.workerCh: if m.done {