1
0
mirror of https://github.com/golang/go synced 2024-11-19 15:05:00 -07:00

runtime: fix compiler warnings

R=golang-dev, gri
CC=golang-dev
https://golang.org/cl/5642068
This commit is contained in:
Russ Cox 2012-02-09 16:48:52 +11:00 committed by Brad Fitzpatrick
parent ce57ba9fee
commit 1253c75cf5

View File

@ -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();