Skip to content

Commit 0f5f467

Browse files
committed
rustc: Remove useless call to type_of() in trans_rec()
1 parent 08bf4d1 commit 0f5f467

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/comp/middle/trans.rs

-1
Original file line numberDiff line numberDiff line change
@@ -4629,7 +4629,6 @@ fn trans_rec(@block_ctxt cx, vec[ast.field] fields,
46294629

46304630
auto bcx = cx;
46314631
auto t = node_ann_type(bcx.fcx.ccx, ann);
4632-
auto llty = type_of(bcx.fcx.ccx, t);
46334632
auto rec_res = alloc_ty(bcx, t);
46344633
auto rec_val = rec_res.val;
46354634
bcx = rec_res.bcx;

0 commit comments

Comments
 (0)