mirror of
https://github.com/golang/go
synced 2024-11-22 20:14:40 -07:00
silence gcc warnings.
not sure if the warning in reg.c was a real bug. R=ken OCL=22408 CL=22410
This commit is contained in:
parent
a91af04c06
commit
8f5bba0d82
@ -628,7 +628,6 @@ dumpsigt(Type *progt, Type *ifacet, Type *rcvrt, Type *methodt, Sym *s)
|
||||
{
|
||||
Type *f;
|
||||
int o;
|
||||
int indir;
|
||||
Sig *a, *b;
|
||||
Prog *p;
|
||||
char buf[NSYMB];
|
||||
@ -673,7 +672,7 @@ dumpsigt(Type *progt, Type *ifacet, Type *rcvrt, Type *methodt, Sym *s)
|
||||
|
||||
// indirect vs direct mismatch
|
||||
Sym *oldname, *newname;
|
||||
Type *oldthis, *oldtype, *newthis;
|
||||
Type *oldthis, *newthis;
|
||||
|
||||
newthis = ifacet;
|
||||
if(isptr[newthis->etype])
|
||||
|
@ -106,6 +106,7 @@ regopt(Prog *firstp)
|
||||
first = 0;
|
||||
}
|
||||
|
||||
r1 = R;
|
||||
firstr = R;
|
||||
lastr = R;
|
||||
nvar = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user