Skip to content

Commit 766eb95

Browse files
committed
auto merge of #7997 : omasanori/rust/cleanup, r=cmr
Just an minor cleanup.
2 parents f132401 + 7a6ebb3 commit 766eb95

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/librustc/middle/trans/_match.rs

-2
Original file line numberDiff line numberDiff line change
@@ -1279,8 +1279,6 @@ pub fn compile_submatch(bcx: @mut Block,
12791279
assert!((m.len() > 0u || chk.is_some()));
12801280
let _icx = push_ctxt("match::compile_submatch");
12811281
let mut bcx = bcx;
1282-
let tcx = bcx.tcx();
1283-
let dm = tcx.def_map;
12841282
if m.len() == 0u {
12851283
Br(bcx, chk.get()());
12861284
return;

0 commit comments

Comments
 (0)