Commit 8f5bba0d authored by Russ Cox's avatar Russ Cox

silence gcc warnings.

not sure if the warning in reg.c was a real bug.

R=ken
OCL=22408
CL=22410
parent a91af04c
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment