1
0
mirror of https://github.com/golang/go synced 2024-11-24 16:30:17 -07:00

gc: silence Plan 9 warnings

R=golang-dev
CC=golang-dev, rsc
https://golang.org/cl/4975055
This commit is contained in:
Lucio De Re 2011-09-07 13:55:48 -04:00 committed by Russ Cox
parent 21e49cbb2d
commit 4ba677c6ea
2 changed files with 2 additions and 1 deletions

View File

@ -1260,6 +1260,8 @@ addvalue(InitPlan *p, vlong xoffset, Node *key, Node *n)
InitPlan *q;
InitEntry *e;
USED(key);
// special case: zero can be dropped entirely
if(iszero(n)) {
p->zero += n->type->width;

View File

@ -1031,7 +1031,6 @@ reswitch:
}
n->left = args->n;
n->right = args->next->n;
args = nil;
n->list = nil;
n->type = types[TINT];
typecheck(&n->left, Erv);