Commit ab9db8a5 authored by Russ Cox's avatar Russ Cox

cleanup - delete unneeded vargen++

R=ken
OCL=17394
CL=17394
parent d378321b
......@@ -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);
......
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