diff options
| author | Michael Sullivan <sully@msully.net> | 2013-07-22 13:26:47 -0700 |
|---|---|---|
| committer | Michael Sullivan <sully@msully.net> | 2013-07-23 17:06:32 -0700 |
| commit | 172ea83adc1e97d1f2fbe72326d1381bf80760bd (patch) | |
| tree | be8e9b21c1a1789600b49d8aa306e8f578d4b9dd | |
| parent | e029c2d623957d52b5a5ad01f1d8e000e1e56555 (diff) | |
| download | rust-172ea83adc1e97d1f2fbe72326d1381bf80760bd.tar.gz rust-172ea83adc1e97d1f2fbe72326d1381bf80760bd.zip | |
Get rid of an unused variable warning.
| -rw-r--r-- | src/librustc/middle/trans/_match.rs | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/librustc/middle/trans/_match.rs b/src/librustc/middle/trans/_match.rs index 2ff0c39476f..843aa2b749c 100644 --- a/src/librustc/middle/trans/_match.rs +++ b/src/librustc/middle/trans/_match.rs @@ -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; |
