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);
|
self.basic_blocks[bb].terminator = Some(terminator);
|
||||||
|
|
||||||
changed |= inner_changed;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if !changed {
|
if !changed {
|
||||||
|
Loading…
Reference in New Issue
Block a user