rustc: remove unused variables

This commit is contained in:
Erick Tryzelaar 2013-07-19 19:50:10 -07:00
parent 1354cfa07f
commit d573ecd1f9

View file

@ -1279,8 +1279,6 @@ pub fn compile_submatch(bcx: block,
assert!((m.len() > 0u || chk.is_some()));
let _icx = push_ctxt("match::compile_submatch");
let mut bcx = bcx;
let tcx = bcx.tcx();
let dm = tcx.def_map;
if m.len() == 0u {
Br(bcx, chk.get()());
return;