mirror of
https://github.com/cookiengineer/audacity
synced 2025-06-21 14:50:06 +02:00
Remove unused var newTracks.
Assert possible null pointer deref of label, per Vigilant Sentry analysis.
This commit is contained in:
parent
bd97930f10
commit
1bd1e7a089
@ -4142,10 +4142,7 @@ void AudacityProject::OnSplitLabelsToTracks()
|
||||
n = iter.Next();
|
||||
}
|
||||
|
||||
// one new track for every label, from that label to the next
|
||||
|
||||
TrackList newTracks;
|
||||
|
||||
wxASSERT(label); // per Vigilant Sentry report on possible null deref, FIX-ME: Report error or validate?
|
||||
for(int i = 0; i < label->GetNumLabels(); i++) {
|
||||
wxString name = label->GetLabel(i)->title;
|
||||
double begin = label->GetLabel(i)->t;
|
||||
|
Loading…
x
Reference in New Issue
Block a user