mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-30 10:45:18 +00:00
rustc Remove dead "llunit_ty" assignment in trans_index
This commit is contained in:
parent
7dc64b45b5
commit
1e65baad94
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user