1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-06-23 15:50:05 +02:00

Fix two MSVC compile warnings.

This commit is contained in:
James Crook 2018-03-14 19:28:29 +00:00
parent 407819e906
commit 86cd720d99
2 changed files with 2 additions and 1 deletions

View File

@ -687,6 +687,8 @@ bool MacroCommands::ApplyEffectCommand(
const wxString & command, const wxString & params,
const CommandContext & Context)
{
(void*)&command;//compiler food.
//Possibly end processing here, if in batch-debug
if( ReportAndSkip(friendlyCommand, params))
return true;

View File

@ -9175,7 +9175,6 @@ void AudacityProject::MoveWhenAudioInactive
// If TIME_UNIT_SECONDS, snap-to will be off.
int snapToTime = GetSnapTo();
const double t0 = mViewInfo.selectedRegion.t0();
const double t1 = mViewInfo.selectedRegion.t1();
const double end = mTracks->GetEndTime();
// Move the cursor