1
0
mirror of https://github.com/cookiengineer/audacity synced 2026-02-24 07:01:16 +01:00

Fix some warnings on mac

These are mostly missing 'overrides'
This commit is contained in:
James Crook
2018-04-07 20:28:27 +01:00
parent 04d7108509
commit b60fae4470
29 changed files with 50 additions and 53 deletions

View File

@@ -992,7 +992,7 @@ static double SystemTime(bool usingAlsa)
return (now.tv_sec + now.tv_nsec * 0.000000001) - streamStartTime;
}
#else
usingAlsa;//compiler food.
static_cast<void>(usingAlsa);//compiler food.
#endif
return PaUtil_GetTime() - streamStartTime;
@@ -4421,7 +4421,7 @@ void AudioIO::AllNotesOff(bool looping)
bool doDelay = !looping;
#else
bool doDelay = false;
looping;// compiler food.
static_cast<void>(looping);// compiler food.
#endif
// to keep track of when MIDI should all be delivered,