From 302cd99322f8623a480e8ec4c5ada64fa26c82b2 Mon Sep 17 00:00:00 2001 From: Brendan Fosberry Date: Fri, 29 May 2015 12:12:54 -0500 Subject: [PATCH] Fixing compile bug --- examples/realtime-advanced/stats.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)