From: Russ Cox Date: Thu, 9 Feb 2012 05:48:52 +0000 (+1100) Subject: runtime: fix compiler warnings X-Git-Tag: weekly.2012-02-14~186 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=1253c75cf5d1f8540fd8e3cee5c0932ebb1465e4;p=gostls13.git runtime: fix compiler warnings R=golang-dev, gri CC=golang-dev https://golang.org/cl/5642068 --- diff --git a/src/pkg/runtime/malloc.goc b/src/pkg/runtime/malloc.goc index 885ab0395a..4d5c80c727 100644 --- a/src/pkg/runtime/malloc.goc +++ b/src/pkg/runtime/malloc.goc @@ -262,6 +262,13 @@ runtime·mallocinit(void) byte *want; p = nil; + arena_size = 0; + bitmap_size = 0; + + // for 64-bit build + USED(p); + USED(arena_size); + USED(bitmap_size); runtime·InitSizes();