diff --git a/examples/realtime-advanced/stats.go b/examples/realtime-advanced/stats.go index 32c52835..c36ecc78 100644 --- a/examples/realtime-advanced/stats.go +++ b/examples/realtime-advanced/stats.go @@ -18,7 +18,7 @@ func statsWorker() { c := time.Tick(1 * time.Second) var lastMallocs uint64 = 0 var lastFrees uint64 = 0 - for range c { + for _ = range c { var stats runtime.MemStats runtime.ReadMemStats(&stats)