Skip to content

Commit 792af12

Browse files
committed
rustc: Remove unused call to type_of() in trans_tup()
1 parent ec5c5a7 commit 792af12

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/comp/middle/trans.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3520,7 +3520,6 @@ fn trans_tup(@block_ctxt cx, vec[ast.elt] elts,
35203520
&ast.ann ann) -> result {
35213521
auto bcx = cx;
35223522
auto t = node_ann_type(bcx.fcx.ccx, ann);
3523-
auto llty = type_of(bcx.fcx.ccx, t);
35243523
auto tup_res = alloc_ty(bcx, t);
35253524
auto tup_val = tup_res.val;
35263525
bcx = tup_res.bcx;

0 commit comments

Comments
 (0)