mirror of
https://github.com/cookiengineer/audacity
synced 2025-06-25 08:38:39 +02:00
fixed "unused variable" warnings
This commit is contained in:
parent
76bad19117
commit
ed83ec73b3
@ -155,6 +155,7 @@ bool AudacityCommand::GetAutomationParameters(wxString & parms)
|
|||||||
S.mpEap = &eap;
|
S.mpEap = &eap;
|
||||||
bool bResult = DefineParams( S );
|
bool bResult = DefineParams( S );
|
||||||
wxASSERT_MSG( bResult, "You did not define DefineParameters() for this command" );
|
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);
|
return eap.GetParameters(parms);
|
||||||
}
|
}
|
||||||
@ -169,6 +170,7 @@ bool AudacityCommand::SetAutomationParameters(const wxString & parms)
|
|||||||
S.SetForWriting( &eap );
|
S.SetForWriting( &eap );
|
||||||
bool bResult = DefineParams( S );
|
bool bResult = DefineParams( S );
|
||||||
wxASSERT_MSG( bResult, "You did not define DefineParameters() for this command" );
|
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)
|
if (!S.bOK)
|
||||||
{
|
{
|
||||||
AudacityCommand::MessageBox(
|
AudacityCommand::MessageBox(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user