1
0
mirror of https://github.com/golang/go synced 2024-11-22 00:04:41 -07:00

build: fix more unused parameters

R=ken2
CC=golang-dev
https://golang.org/cl/4971042
This commit is contained in:
Russ Cox 2011-08-25 16:29:56 -04:00
parent 61f84a2cdc
commit 987649e09b
3 changed files with 9 additions and 0 deletions

View File

@ -86,6 +86,8 @@ gbranch(int as, Type *t)
{ {
Prog *p; Prog *p;
USED(t);
p = prog(as); p = prog(as);
p->to.type = D_BRANCH; p->to.type = D_BRANCH;
p->to.branch = P; p->to.branch = P;

View File

@ -549,6 +549,8 @@ genembedtramp(Type *rcvr, Type *method, Sym *newnam, int iface)
Prog *p; Prog *p;
Type *f; Type *f;
USED(iface);
e = method->sym; e = method->sym;
for(d=0; d<nelem(dotlist); d++) { for(d=0; d<nelem(dotlist); d++) {
c = adddot1(e, rcvr, d, nil, 0); c = adddot1(e, rcvr, d, nil, 0);

View File

@ -84,6 +84,7 @@ gbranch(int as, Type *t)
{ {
Prog *p; Prog *p;
USED(t);
p = prog(as); p = prog(as);
p->to.type = D_BRANCH; p->to.type = D_BRANCH;
p->to.branch = P; p->to.branch = P;
@ -1957,5 +1958,9 @@ sudoclean(void)
int int
sudoaddable(int as, Node *n, Addr *a) sudoaddable(int as, Node *n, Addr *a)
{ {
USED(as);
USED(n);
USED(a);
return 0; return 0;
} }