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:
parent
3d3bccc421
commit
b27e09331c
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user