Skip to content

Commit

Permalink
Remove redundant assignment from CfgSimplifier
Browse files Browse the repository at this point in the history
  • Loading branch information
tmiasko committed Aug 2, 2020
1 parent 82651db commit 7f9f2ff
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/librustc_mir/transform/simplify.rs
Expand Up @@ -142,8 +142,6 @@ impl<'a, 'tcx> CfgSimplifier<'a, 'tcx> {
}

self.basic_blocks[bb].terminator = Some(terminator);

changed |= inner_changed;
}

if !changed {
Expand Down

0 comments on commit 7f9f2ff

Please sign in to comment.