From: Dave Cheney Date: Wed, 18 Sep 2013 00:15:52 +0000 (+1000) Subject: cmd/gc: fix set but not used error X-Git-Tag: go1.2rc2~177 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=b27e09331c2aba431e3ba91ebeac7da74e3b86e0;p=gostls13.git cmd/gc: fix set but not used error R=rsc, r CC=golang-dev https://golang.org/cl/13749044 --- diff --git a/src/cmd/gc/popt.c b/src/cmd/gc/popt.c index 22ea73eb60..8d7afa0111 100644 --- a/src/cmd/gc/popt.c +++ b/src/cmd/gc/popt.c @@ -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) {