1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-06-25 00:30:07 +02:00

fixed "unused variable" warnings

This commit is contained in:
andheh 2018-02-26 23:09:14 +01:00 committed by James Crook
parent 76bad19117
commit ed83ec73b3

View File

@ -155,6 +155,7 @@ bool AudacityCommand::GetAutomationParameters(wxString & parms)
S.mpEap = &eap;
bool bResult = DefineParams( S );
wxASSERT_MSG( bResult, "You did not define DefineParameters() for this command" );
static_cast<void>(bResult); // fix unused variable warning in release mode
return eap.GetParameters(parms);
}
@ -169,6 +170,7 @@ bool AudacityCommand::SetAutomationParameters(const wxString & parms)
S.SetForWriting( &eap );
bool bResult = DefineParams( S );
wxASSERT_MSG( bResult, "You did not define DefineParameters() for this command" );
static_cast<void>(bResult); // fix unused variable warning in release mode
if (!S.bOK)
{
AudacityCommand::MessageBox(