Remove unreachable code.
if (working_on_selection) { ... } else { if (working_on_selection) { .. never reached .. } } Found by PVS: https://www.viva64.com/en/b/0540/
This commit is contained in:
parent
5e04e288a0
commit
c591368133
@ -310,10 +310,6 @@ Editor::split_regions_at (MusicSample where, RegionSelection& regions, bool snap
|
||||
}
|
||||
}
|
||||
}
|
||||
} else {
|
||||
if( working_on_selection ) {
|
||||
selection->add (latest_regionviews); //these are the new regions created after the split
|
||||
}
|
||||
}
|
||||
|
||||
commit_reversible_command ();
|
||||
|
Loading…
Reference in New Issue
Block a user