cmd/ld: trivial: fix unused parameter pedantry

R=golang-dev, r, rsc
CC=golang-dev
https://golang.org/cl/11436043
This commit is contained in:
Dave Cheney 2013-07-18 10:11:43 +10:00
parent 4aa6d35306
commit 9094941a40
1 changed files with 3 additions and 0 deletions

View File

@ -1614,6 +1614,7 @@ static int32
pctospadj(Sym *sym, int32 oldval, Prog *p, int32 phase, int32 arg)
{
USED(arg);
USED(sym);
if(oldval == -1) // starting
oldval = 0;
@ -1634,6 +1635,8 @@ pctospadj(Sym *sym, int32 oldval, Prog *p, int32 phase, int32 arg)
static int32
pctopcdata(Sym *sym, int32 oldval, Prog *p, int32 phase, int32 arg)
{
USED(sym);
if(phase == 0 || p->as != APCDATA || p->from.offset != arg)
return oldval;
if((int32)p->to.offset != p->to.offset) {