mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 01:04:03 +00:00
Remove redundant assignment from CfgSimplifier
This commit is contained in:
parent
82651db9b2
commit
7f9f2ff9f4
@ -142,8 +142,6 @@ impl<'a, 'tcx> CfgSimplifier<'a, 'tcx> {
|
||||
}
|
||||
|
||||
self.basic_blocks[bb].terminator = Some(terminator);
|
||||
|
||||
changed |= inner_changed;
|
||||
}
|
||||
|
||||
if !changed {
|
||||
|
Loading…
Reference in New Issue
Block a user