No-OP: remove unused variables

This commit is contained in:
Robin Gareus 2021-03-17 17:53:43 +01:00
parent fddecc11ec
commit 7ef4a08b5e
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04
6 changed files with 4 additions and 9 deletions

View File

@ -72,7 +72,6 @@ public:
}
private:
bool _denormal_protection;
bool _apply_gain_automation;
float _current_gain;
samplepos_t _current_automation_sample;

View File

@ -119,7 +119,6 @@ class LIBARDOUR_API RegionExportChannelFactory
void update_buffers (samplecnt_t samples);
AudioRegion const & region;
AudioTrack & track;
Type type;
samplecnt_t samples_per_cycle;

View File

@ -37,7 +37,7 @@ class Muteable;
class LIBARDOUR_API SoloIsolateControl : public SlavableAutomationControl
{
public:
SoloIsolateControl (Session& session, std::string const & name, Soloable& soloable, Muteable& m);
SoloIsolateControl (Session& session, std::string const & name, Soloable& soloable);
double get_value () const;
@ -78,7 +78,6 @@ class LIBARDOUR_API SoloIsolateControl : public SlavableAutomationControl
private:
Soloable& _soloable;
Muteable& _muteable;
bool _solo_isolated;
uint32_t _solo_isolated_by_upstream;

View File

@ -169,9 +169,8 @@ PortExportChannel::set_state (XMLNode * node, Session & session)
}
}
RegionExportChannelFactory::RegionExportChannelFactory (Session * session, AudioRegion const & region, AudioTrack & track, Type type)
RegionExportChannelFactory::RegionExportChannelFactory (Session * session, AudioRegion const & region, AudioTrack&, Type type)
: region (region)
, track (track)
, type (type)
, samples_per_cycle (session->engine().samples_per_cycle ())
, buffers_up_to_date (false)

View File

@ -173,7 +173,7 @@ Route::init ()
_phase_control.reset (new PhaseControl (_session, X_("phase")));
add_control (_phase_control);
_solo_isolate_control.reset (new SoloIsolateControl (_session, X_("solo-iso"), *this, *this));
_solo_isolate_control.reset (new SoloIsolateControl (_session, X_("solo-iso"), *this));
add_control (_solo_isolate_control);
_solo_safe_control.reset (new SoloSafeControl (_session, X_("solo-safe")));

View File

@ -28,12 +28,11 @@ using namespace ARDOUR;
using namespace std;
using namespace PBD;
SoloIsolateControl::SoloIsolateControl (Session& session, std::string const & name, Soloable& s, Muteable& m)
SoloIsolateControl::SoloIsolateControl (Session& session, std::string const & name, Soloable& s)
: SlavableAutomationControl (session, SoloIsolateAutomation, ParameterDescriptor (SoloIsolateAutomation),
boost::shared_ptr<AutomationList>(new AutomationList(Evoral::Parameter(SoloIsolateAutomation))),
name)
, _soloable (s)
, _muteable (m)
, _solo_isolated (false)
, _solo_isolated_by_upstream (0)
{