fix unused variable warning
authorPaul Davis <paul@linuxaudiosystems.com>
Thu, 20 Oct 2011 11:42:55 +0000 (11:42 +0000)
committerPaul Davis <paul@linuxaudiosystems.com>
Thu, 20 Oct 2011 11:42:55 +0000 (11:42 +0000)
git-svn-id: svn://localhost/ardour2/branches/3.0@10246 d708f5d6-7413-0410-9779-e7cbd77b26cf

gtk2_ardour/gain_meter.cc

index 040ed03ea649aa0135e832597902d107c082611c..c0a69583477e66df17cef36ea8ecccc8ff858900 100644 (file)
@@ -452,7 +452,7 @@ GainMeterBase::gain_adjusted ()
 void
 GainMeterBase::effective_gain_display ()
 {
-       float value;
+       float value = 0.0;
 
        switch (_data_type) {
        case DataType::AUDIO: