]> git.lizzy.rs Git - rust.git/commitdiff
rustc: remove unused variables
authorErick Tryzelaar <erick.tryzelaar@gmail.com>
Sat, 20 Jul 2013 02:50:10 +0000 (19:50 -0700)
committerErick Tryzelaar <erick.tryzelaar@gmail.com>
Tue, 23 Jul 2013 23:57:00 +0000 (16:57 -0700)
src/librustc/middle/trans/_match.rs

index b125232a7aac857ac02c4dbcf946d8f1a42480a7..bffc8532af5d86df130f0d4b56036a8c2aa4d3e6 100644 (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;