Remove unused private fields (Wunused-private-field)

This commit is contained in:
David Robillard 2021-05-28 12:18:35 -04:00
parent c57c230dfc
commit 1b4aaea92a
4 changed files with 2 additions and 9 deletions

View File

@ -91,7 +91,6 @@ public:
void dump () const;
NoteMode _note_mode;
samplepos_t _read_end;
RTMidiBuffer _rendered;
};

View File

@ -50,7 +50,6 @@ using namespace std;
MidiPlaylist::MidiPlaylist (Session& session, const XMLNode& node, bool hidden)
: Playlist (session, node, DataType::MIDI, hidden)
, _note_mode(Sustained)
, _read_end(0)
{
#ifndef NDEBUG
XMLProperty const * prop = node.property("type");
@ -69,14 +68,12 @@ MidiPlaylist::MidiPlaylist (Session& session, const XMLNode& node, bool hidden)
MidiPlaylist::MidiPlaylist (Session& session, string name, bool hidden)
: Playlist (session, name, DataType::MIDI, hidden)
, _note_mode(Sustained)
, _read_end(0)
{
}
MidiPlaylist::MidiPlaylist (boost::shared_ptr<const MidiPlaylist> other, string name, bool hidden)
: Playlist (other, name, hidden)
, _note_mode(other->_note_mode)
, _read_end(0)
{
}
@ -87,7 +84,6 @@ MidiPlaylist::MidiPlaylist (boost::shared_ptr<const MidiPlaylist> other,
bool hidden)
: Playlist (other, start, dur, name, hidden)
, _note_mode(other->_note_mode)
, _read_end(0)
{
}

View File

@ -56,7 +56,6 @@ class OSCCueObserver
ArdourSurface::OSC::OSCSurface* sur;
float _last_meter;
float _last_signal;
bool _hidden;
std::vector<uint32_t> gain_timeout;
bool tick_enable;
std::vector<float> _last_gain;

View File

@ -129,10 +129,9 @@ private:
PBD::ScopedConnectionList stripable_connections;
PBD::ScopedConnectionList subview_connections;
PBD::ScopedConnectionList send_connections;
int eq_band;
int _trickle_counter;
ARDOUR::AutomationType _pan_mode;
void notify_solo_changed ();