1
0
mirror of https://github.com/golang/go synced 2024-11-12 02:00:23 -07:00

cmd/gc: fix set but not used error

R=rsc, r
CC=golang-dev
https://golang.org/cl/13749044
This commit is contained in:
Dave Cheney 2013-09-18 10:15:52 +10:00
parent 3d3bccc421
commit b27e09331c

View File

@ -795,7 +795,6 @@ nilopt(Prog *firstp)
{
NilFlow *r;
Prog *p;
uint32 gen;
Graph *g;
int ncheck, nkill;
@ -806,7 +805,6 @@ nilopt(Prog *firstp)
if(debug_checknil > 1 /* || strcmp(curfn->nname->sym->name, "f1") == 0 */)
dumpit("nilopt", g->start, 0);
gen = 0;
ncheck = 0;
nkill = 0;
for(r = (NilFlow*)g->start; r != nil; r = (NilFlow*)r->f.link) {