Merge pull request #7 from andrewgaul/nit

Simplify for loop
This commit is contained in:
Barna Csorogi 2017-01-16 06:58:12 +01:00 committed by GitHub
commit b23411caf2
1 changed files with 1 additions and 1 deletions

View File

@ -69,7 +69,7 @@ func main() {
c := make(chan os.Signal, 2)
signal.Notify(c, os.Interrupt)
go func() {
for _ = range c {
for range c {
read := atomic.LoadUint64(&p.ReadCount)
written := atomic.LoadUint64(&p.WriteCount)
log.Printf("compy exiting, total transcoded: %d -> %d (%3.1f%%)",