Commit b27e0933 authored by Dave Cheney's avatar Dave Cheney

cmd/gc: fix set but not used error

R=rsc, r
CC=golang-dev
https://golang.org/cl/13749044
parent 3d3bccc4
...@@ -795,7 +795,6 @@ nilopt(Prog *firstp) ...@@ -795,7 +795,6 @@ nilopt(Prog *firstp)
{ {
NilFlow *r; NilFlow *r;
Prog *p; Prog *p;
uint32 gen;
Graph *g; Graph *g;
int ncheck, nkill; int ncheck, nkill;
...@@ -806,7 +805,6 @@ nilopt(Prog *firstp) ...@@ -806,7 +805,6 @@ nilopt(Prog *firstp)
if(debug_checknil > 1 /* || strcmp(curfn->nname->sym->name, "f1") == 0 */) if(debug_checknil > 1 /* || strcmp(curfn->nname->sym->name, "f1") == 0 */)
dumpit("nilopt", g->start, 0); dumpit("nilopt", g->start, 0);
gen = 0;
ncheck = 0; ncheck = 0;
nkill = 0; nkill = 0;
for(r = (NilFlow*)g->start; r != nil; r = (NilFlow*)r->f.link) { for(r = (NilFlow*)g->start; r != nil; r = (NilFlow*)r->f.link) {
......
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