From f977b55cee5fd796fe4f0468a28df39b769f1307 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Wed, 31 Jul 2013 15:52:41 +0200 Subject: [PATCH] initialize two more uninitialized vars.. --- gtk2_ardour/meter_strip.cc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gtk2_ardour/meter_strip.cc b/gtk2_ardour/meter_strip.cc index 42f3557307..ede9cc2074 100644 --- a/gtk2_ardour/meter_strip.cc +++ b/gtk2_ardour/meter_strip.cc @@ -65,6 +65,8 @@ MeterStrip::MeterStrip (int metricmode, MeterType mt) level_meter = 0; _strip_type = 0; _tick_bar = 0; + _metricmode = -1; + metric_type = MeterPeak; mtr_vbox.set_spacing(2); nfo_vbox.set_spacing(2); peakbx.set_size_request(-1, 14); @@ -123,6 +125,8 @@ MeterStrip::MeterStrip (Session* sess, boost::shared_ptr rt) _has_midi = false; _tick_bar = 0; + _metricmode = -1; + metric_type = MeterPeak; int meter_width = 6; if (_route->shared_peak_meter()->input_streams().n_total() == 1) {