cleanup - delete unneeded vargen++

R=ken
OCL=17394
CL=17394
This commit is contained in:
Russ Cox 2008-10-17 17:45:32 -07:00
parent d378321b6e
commit ab9db8a5f8

View file

@ -686,7 +686,6 @@ addvar(Node *n, Type *t, int ctxt)
if(ctxt == PEXTERN) {
r = externdcl;
gen = 0;
vargen++; // just for diffing output against old compiler
} else {
r = autodcl;
vargen++;
@ -737,7 +736,6 @@ addtyp(Type *n, int ctxt)
r = autodcl;
pushdcl(s);
}
vargen++; // just for diffing output against old compiler
if(s->tblock == block)
yyerror("type %S redeclared in this block %d", s, block);