From 792af12a3ca706ec4f0fcc6af006371c7f96abe0 Mon Sep 17 00:00:00 2001 From: Patrick Walton Date: Wed, 2 Mar 2011 18:06:53 -0800 Subject: [PATCH] rustc: Remove unused call to type_of() in trans_tup() --- src/comp/middle/trans.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/src/comp/middle/trans.rs b/src/comp/middle/trans.rs index 8b0747d5045..4708ffc5253 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;