Get rid of an unused variable warning.

This commit is contained in:
Michael Sullivan 2013-07-22 13:26:47 -07:00
parent e029c2d623
commit 172ea83adc

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;