mirror of
https://github.com/golang/go.git
synced 2025-05-25 09:21:21 +00: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;
|
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)
|
|||||||
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) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user