summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/cmd/gc/dcl.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/cmd/gc/dcl.c b/src/cmd/gc/dcl.c
index 6368fa4bd..b65d8c0bb 100644
--- a/src/cmd/gc/dcl.c
+++ b/src/cmd/gc/dcl.c
@@ -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);