1
0
mirror of https://github.com/golang/go synced 2024-11-12 04:30:22 -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;
USED(t);
p = prog(as);
p->to.type = D_BRANCH;
p->to.branch = P;

View File

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

View File

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