Merge pull request #319 from bfosberry/fixing-example-bugs

Fixing compile bug
This commit is contained in:
Manu Mtz.-Almeida 2015-05-30 15:08:00 +02:00
commit 02a5e0929a
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@ func statsWorker() {
c := time.Tick(1 * time.Second) c := time.Tick(1 * time.Second)
var lastMallocs uint64 = 0 var lastMallocs uint64 = 0
var lastFrees uint64 = 0 var lastFrees uint64 = 0
for range c { for _ = range c {
var stats runtime.MemStats var stats runtime.MemStats
runtime.ReadMemStats(&stats) runtime.ReadMemStats(&stats)