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) ...@@ -628,7 +628,6 @@ dumpsigt(Type *progt, Type *ifacet, Type *rcvrt, Type *methodt, Sym *s)
{ {
Type *f; Type *f;
int o; int o;
int indir;
Sig *a, *b; Sig *a, *b;
Prog *p; Prog *p;
char buf[NSYMB]; char buf[NSYMB];
...@@ -673,7 +672,7 @@ dumpsigt(Type *progt, Type *ifacet, Type *rcvrt, Type *methodt, Sym *s) ...@@ -673,7 +672,7 @@ dumpsigt(Type *progt, Type *ifacet, Type *rcvrt, Type *methodt, Sym *s)
// indirect vs direct mismatch // indirect vs direct mismatch
Sym *oldname, *newname; Sym *oldname, *newname;
Type *oldthis, *oldtype, *newthis; Type *oldthis, *newthis;
newthis = ifacet; newthis = ifacet;
if(isptr[newthis->etype]) if(isptr[newthis->etype])
......
...@@ -106,6 +106,7 @@ regopt(Prog *firstp) ...@@ -106,6 +106,7 @@ regopt(Prog *firstp)
first = 0; first = 0;
} }
r1 = R;
firstr = R; firstr = R;
lastr = R; lastr = R;
nvar = 0; 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