mirror of
https://github.com/cookiengineer/audacity
synced 2026-01-02 14:17:07 +01:00
void return, not boolean success, from some Track virtual functions...
... The return codes were mostly ignored anyway, and exceptions will be thrown instead. It seems there was also confusion whether the return values of Track::Paste and Track::SyncLockAdjust were to indicate success or indicate whether there was any change. No matter now.
This commit is contained in:
@@ -97,7 +97,6 @@ bool EffectSilence::GenerateTrack(WaveTrack *tmp,
|
||||
const WaveTrack & WXUNUSED(track),
|
||||
int WXUNUSED(ntrack))
|
||||
{
|
||||
bool bResult = tmp->InsertSilence(0.0, GetDuration());
|
||||
wxASSERT(bResult);
|
||||
return bResult;
|
||||
tmp->InsertSilence(0.0, GetDuration());
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user