diff options
| author | Patrick Walton <[email protected]> | 2011-03-02 18:06:53 -0800 |
|---|---|---|
| committer | Patrick Walton <[email protected]> | 2011-03-02 18:06:53 -0800 |
| commit | 792af12a3ca706ec4f0fcc6af006371c7f96abe0 (patch) | |
| tree | ddafaff9f9f05a528c0dadfb403f88e0295e0f57 | |
| parent | rustc: Rework the API for trans_malloc() to be generic-aware and so that clie... (diff) | |
| download | rust-792af12a3ca706ec4f0fcc6af006371c7f96abe0.tar.xz rust-792af12a3ca706ec4f0fcc6af006371c7f96abe0.zip | |
rustc: Remove unused call to type_of() in trans_tup()
| -rw-r--r-- | src/comp/middle/trans.rs | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/comp/middle/trans.rs b/src/comp/middle/trans.rs index 8b0747d5..4708ffc5 100644 --- a/src/comp/middle/trans.rs +++ b/src/comp/middle/trans.rs @@ -3520,7 +3520,6 @@ fn trans_tup(@block_ctxt cx, vec[ast.elt] elts, &ast.ann ann) -> result { auto bcx = cx; auto t = node_ann_type(bcx.fcx.ccx, ann); - auto llty = type_of(bcx.fcx.ccx, t); auto tup_res = alloc_ty(bcx, t); auto tup_val = tup_res.val; bcx = tup_res.bcx; |