diff options
| author | bors <bors@rust-lang.org> | 2013-07-24 11:16:33 -0700 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2013-07-24 11:16:33 -0700 |
| commit | 766eb950c6e7cdbab89e15200d0bd2dfee58e25e (patch) | |
| tree | 5dd1368299629eabebca7b817c607651dc3f2744 | |
| parent | f132401a0b4f7fe19f9de50ab5a5a6a0d1d68607 (diff) | |
| parent | 7a6ebb36b0061f68c5122b3f475871239af6aa8a (diff) | |
| download | rust-766eb950c6e7cdbab89e15200d0bd2dfee58e25e.tar.gz rust-766eb950c6e7cdbab89e15200d0bd2dfee58e25e.zip | |
auto merge of #7997 : omasanori/rust/cleanup, r=cmr
Just an minor cleanup.
| -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; |
