mirror of
https://github.com/cookiengineer/audacity
synced 2025-12-24 09:31:13 +01:00
Remove unnecessary wxASSERT because the condition is checked for, in Release build as well.
This commit is contained in:
@@ -2273,8 +2273,7 @@ bool WaveTrack::MergeClips(int clipidx1, int clipidx2)
|
|||||||
WaveClip* clip1 = GetClipByIndex(clipidx1);
|
WaveClip* clip1 = GetClipByIndex(clipidx1);
|
||||||
WaveClip* clip2 = GetClipByIndex(clipidx2);
|
WaveClip* clip2 = GetClipByIndex(clipidx2);
|
||||||
|
|
||||||
wxASSERT(clip2);
|
if (!clip2) // Could happen if one track of a linked pair had a split and the other didn't.
|
||||||
if(clip2 == NULL) // could happen if one track of a linked pair had a split and the other didn't
|
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
// Append data from second clip to first clip
|
// Append data from second clip to first clip
|
||||||
|
|||||||
Reference in New Issue
Block a user