1
0
mirror of https://github.com/golang/go synced 2024-11-21 22:34:48 -07:00

5g: fix set but not used error

R=golang-dev, r
CC=golang-dev
https://golang.org/cl/4816061
This commit is contained in:
Dave Cheney 2011-07-31 19:54:47 -07:00 committed by Rob Pike
parent 8800f7cb55
commit 317911c9ff

View File

@ -472,7 +472,7 @@ cgen_shift(int op, Node *nl, Node *nr, Node *res)
{
Node n1, n2, n3, nt, t, lo, hi;
int w;
Prog *p1, *p2, *p3, *pbig;
Prog *p1, *p2, *p3;
Type *tr;
uvlong sc;
@ -505,7 +505,6 @@ cgen_shift(int op, Node *nl, Node *nr, Node *res)
return;
}
pbig = P;
tr = nr->type;
if(tr->width > 4) {
tempname(&nt, nr->type);