rustc Remove dead "llunit_ty" assignment in trans_index

This commit is contained in:
Patrick Walton 2011-03-09 15:23:41 -08:00
parent 7dc64b45b5
commit 1e65baad94

View File

@ -3287,7 +3287,6 @@ fn trans_index(@block_ctxt cx, &ast.span sp, @ast.expr base,
ix_val = ix.val;
}
auto llunit_ty = node_type(cx.fcx.ccx, ann);
auto unit_sz = size_of(bcx, node_ann_type(cx.fcx.ccx, ann));
bcx = unit_sz.bcx;