Skip to content

Commit

Permalink
tasklog: remove 'wg' reference from *PercentageTask
Browse files Browse the repository at this point in the history
  • Loading branch information
ttaylorr committed Dec 2, 2017
1 parent 4b33121 commit 51d0fe4
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions tasklog/percentage_task.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ package tasklog
import (
"fmt"
"math"
"sync"
"sync/atomic"
"time"
)
Expand All @@ -28,7 +27,6 @@ func NewPercentageTask(msg string, total uint64) *PercentageTask {
msg: msg,
total: total,
ch: make(chan *Update, 1),
wg: new(sync.WaitGroup),
}
p.Count(0)

Expand Down

0 comments on commit 51d0fe4

Please sign in to comment.