auto merge of #7997 : omasanori/rust/cleanup, r=cmr

Just an minor cleanup.
This commit is contained in:
bors 2013-07-24 11:16:33 -07:00
commit 766eb950c6

View File

@ -1279,8 +1279,6 @@ pub fn compile_submatch(bcx: @mut 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;