Commit 317911c9 authored by Dave Cheney's avatar Dave Cheney Committed by Rob Pike

5g: fix set but not used error

R=golang-dev, r
CC=golang-dev
https://golang.org/cl/4816061
parent 8800f7cb
...@@ -472,7 +472,7 @@ cgen_shift(int op, Node *nl, Node *nr, Node *res) ...@@ -472,7 +472,7 @@ cgen_shift(int op, Node *nl, Node *nr, Node *res)
{ {
Node n1, n2, n3, nt, t, lo, hi; Node n1, n2, n3, nt, t, lo, hi;
int w; int w;
Prog *p1, *p2, *p3, *pbig; Prog *p1, *p2, *p3;
Type *tr; Type *tr;
uvlong sc; uvlong sc;
...@@ -505,7 +505,6 @@ cgen_shift(int op, Node *nl, Node *nr, Node *res) ...@@ -505,7 +505,6 @@ cgen_shift(int op, Node *nl, Node *nr, Node *res)
return; return;
} }
pbig = P;
tr = nr->type; tr = nr->type;
if(tr->width > 4) { if(tr->width > 4) {
tempname(&nt, nr->type); tempname(&nt, nr->type);
......
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