mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-30 08:53:08 +01:00
initialize some uninitialized vars - closes #5974
This commit is contained in:
parent
8d12ebd972
commit
aac3ca5521
3 changed files with 3 additions and 1 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue