Skip to content

Commit 7a6ebb3

Browse files
committed
Remove unused variables in compile_submatch.
Just an minor cleanup. Signed-off-by: OGINO Masanori <[email protected]>
1 parent 69a237e commit 7a6ebb3

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: 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)