diff --git a/examples/realtime-advanced/stats.go b/examples/realtime-advanced/stats.go index 32c5283..c36ecc7 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)