diff options
| author | Russ Cox <rsc@golang.org> | 2012-02-09 16:48:52 +1100 |
|---|---|---|
| committer | Brad Fitzpatrick <bradfitz@golang.org> | 2012-02-09 16:48:52 +1100 |
| commit | 1253c75cf5d1f8540fd8e3cee5c0932ebb1465e4 (patch) | |
| tree | b89638caddcc715dfc4e69c715c78a4e5b3836fd /src/pkg/runtime/malloc.goc | |
| parent | ce57ba9feec078191db2873017bd63f996afd835 (diff) | |
| download | go-1253c75cf5d1f8540fd8e3cee5c0932ebb1465e4.tar.xz | |
runtime: fix compiler warnings
R=golang-dev, gri
CC=golang-dev
https://golang.org/cl/5642068
Diffstat (limited to 'src/pkg/runtime/malloc.goc')
| -rw-r--r-- | src/pkg/runtime/malloc.goc | 7 |
1 files changed, 7 insertions, 0 deletions
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(); |
