From d573ecd1f99944ca45837cbfc2efddcbddae8761 Mon Sep 17 00:00:00 2001 From: Erick Tryzelaar Date: Fri, 19 Jul 2013 19:50:10 -0700 Subject: [PATCH] rustc: remove unused variables --- src/librustc/middle/trans/_match.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/librustc/middle/trans/_match.rs b/src/librustc/middle/trans/_match.rs index b125232a7aa..bffc8532af5 100644 --- a/src/librustc/middle/trans/_match.rs +++ b/src/librustc/middle/trans/_match.rs @@ -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;