mirror of
https://github.com/golang/go
synced 2024-11-24 14:00:15 -07:00
gc: silence Plan 9 warnings
R=golang-dev CC=golang-dev, rsc https://golang.org/cl/4975055
This commit is contained in:
parent
21e49cbb2d
commit
4ba677c6ea
@ -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;
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user