diff widgets/Fader.cpp @ 857:44675ab217a3

Fix some (probably benign) uninitialised members (from coverity scan)
author Chris Cannam
date Wed, 03 Sep 2014 12:10:27 +0100
parents 1a0dfcbffaf1
children 4a578a360011
line wrap: on
line diff
--- a/widgets/Fader.cpp	Wed Sep 03 12:08:35 2014 +0100
+++ b/widgets/Fader.cpp	Wed Sep 03 12:10:27 2014 +0100
@@ -48,7 +48,9 @@
     m_value(1.0),
     m_peakLeft(0.0),
     m_peakRight(0.0),
-    m_mousePressed(false)
+    m_mousePressed(false),
+    m_mousePressX(0),
+    m_mousePressValue(0)
 {
     setMinimumSize(116, 23);
     setMaximumSize(116, 23);