Remove unused variables in compile_submatch.

Just an minor cleanup.

Signed-off-by: OGINO Masanori <masanori.ogino@gmail.com>
This commit is contained in:
OGINO Masanori 2013-07-24 00:03:54 +09:00
parent 69a237ed7b
commit 7a6ebb36b0

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;