diff --git a/src/cmd/gc/sinit.c b/src/cmd/gc/sinit.c index 18856cd3ac8..4550577a4f3 100644 --- a/src/cmd/gc/sinit.c +++ b/src/cmd/gc/sinit.c @@ -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; diff --git a/src/cmd/gc/typecheck.c b/src/cmd/gc/typecheck.c index 7b10f33f087..b9c302ce8e0 100644 --- a/src/cmd/gc/typecheck.c +++ b/src/cmd/gc/typecheck.c @@ -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);