Simplify for loop

This commit is contained in:
Andrew Gaul 2017-01-14 15:33:56 -08:00
parent cac3b84a5d
commit 569bb06e52
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%%)",