]> Cypherpunks repositories - gostls13.git/commitdiff
cleanup - delete unneeded vargen++
authorRuss Cox <rsc@golang.org>
Sat, 18 Oct 2008 00:45:32 +0000 (17:45 -0700)
committerRuss Cox <rsc@golang.org>
Sat, 18 Oct 2008 00:45:32 +0000 (17:45 -0700)
R=ken
OCL=17394
CL=17394

src/cmd/gc/dcl.c

index 6368fa4bd58b9af46d2806c8536bacc6f8ae02a4..b65d8c0bb6a762889d555565907e19cd9c7e4aae 100644 (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);