mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-21 14:02:57 +02:00
Fix some warnings.
This commit is contained in:
@@ -32,7 +32,7 @@ void BatchEvalCommandType::BuildSignature(CommandSignature &signature)
|
||||
signature.AddParameter(wxT("ChainName"), wxT(""), std::move(chainValidator));
|
||||
}
|
||||
|
||||
OldStyleCommandPointer BatchEvalCommandType::Create(std::unique_ptr<CommandOutputTargets> &&target)
|
||||
OldStyleCommandPointer BatchEvalCommandType::Create(std::unique_ptr<CommandOutputTargets> && WXUNUSED(target))
|
||||
{
|
||||
return std::make_shared<BatchEvalCommand>(*this);
|
||||
}
|
||||
|
@@ -129,7 +129,7 @@ ApplyAndSendResponse::ApplyAndSendResponse(const OldStyleCommandPointer &cmd, st
|
||||
}
|
||||
|
||||
|
||||
bool ApplyAndSendResponse::Apply(const CommandContext &context)
|
||||
bool ApplyAndSendResponse::Apply(const CommandContext &WXUNUSED(context))
|
||||
{
|
||||
wxLogMessage( "Context was passed in, but was ignored. ApplyAndSendResponse has its own one");
|
||||
return Apply();
|
||||
|
@@ -195,23 +195,23 @@ void BriefCommandMessageTarget::EndStruct(){
|
||||
if( mCounts.GetCount() <= 3 )
|
||||
Update( " " );
|
||||
}
|
||||
void BriefCommandMessageTarget::AddItem(const wxString &value, const wxString &name){
|
||||
void BriefCommandMessageTarget::AddItem(const wxString &value, const wxString &WXUNUSED(name)){
|
||||
if( mCounts.GetCount() <= 3 )
|
||||
Update( wxString::Format( "%s\"%s\"", (mCounts.Last()>0)?" ":"",Escaped(value)));
|
||||
mCounts.Last() += 1;
|
||||
}
|
||||
void BriefCommandMessageTarget::AddBool(const bool value, const wxString &name){
|
||||
void BriefCommandMessageTarget::AddBool(const bool value, const wxString &WXUNUSED(name)){
|
||||
if( mCounts.GetCount() <= 3 )
|
||||
Update( wxString::Format( "%s%s", (mCounts.Last()>0)?" ":"",value?"True":"False"));
|
||||
mCounts.Last() += 1;
|
||||
}
|
||||
void BriefCommandMessageTarget::AddItem(const double value, const wxString &name){
|
||||
void BriefCommandMessageTarget::AddItem(const double value, const wxString &WXUNUSED(name)){
|
||||
if( mCounts.GetCount() <= 3 )
|
||||
Update( wxString::Format( "%s%g", (mCounts.Last()>0)?" ":"", value));
|
||||
mCounts.Last() += 1;
|
||||
}
|
||||
|
||||
void BriefCommandMessageTarget::StartField(const wxString &name){
|
||||
void BriefCommandMessageTarget::StartField(const wxString &WXUNUSED(name)){
|
||||
mCounts.Last() += 1;
|
||||
mCounts.push_back( 0 );
|
||||
}
|
||||
|
Reference in New Issue
Block a user