initialize some uninitialized vars - closes #5974

This commit is contained in:
Robin Gareus 2014-10-08 19:16:21 +02:00
parent 8d12ebd972
commit aac3ca5521
3 changed files with 3 additions and 1 deletions

View file

@ -392,7 +392,7 @@ Meterbridge::on_scroll()
ARDOUR::MeterType mt_right = _mt_right;
for (unsigned int i = 0; i < _metrics.size(); ++i) {
int sx, dx, dy;
int sx, dx = 0, dy = 0;
int mm = _metrics[i]->get_metric_mode();
sx = (mm & 2) ? _metrics[i]->get_width() : 0;

View file

@ -103,6 +103,7 @@ static const uint32_t midi_port_color = 0x960909FF; //Red
ProcessorEntry::ProcessorEntry (ProcessorBox* parent, boost::shared_ptr<Processor> p, Width w)
: _button (ArdourButton::led_default_elements)
, _position (PreFader)
, _position_num(0)
, _selectable(true)
, _parent (parent)
, _processor (p)

View file

@ -81,6 +81,7 @@ AudioEngine::AudioEngine ()
, _latency_flush_frames (0)
, _latency_signal_latency (0)
, _stopped_for_latency (false)
, _started_for_latency (false)
, _in_destructor (false)
, _hw_reset_event_thread(0)
, _hw_reset_request_count(0)