Remove unused variables in compile_submatch
.
Just an minor cleanup. Signed-off-by: OGINO Masanori <masanori.ogino@gmail.com>
This commit is contained in:
parent
69a237ed7b
commit
7a6ebb36b0
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user