# HG changeset patch # User Chris Cannam # Date 1409742627 -3600 # Node ID 44675ab217a3cf66eb4e967b5677c9b3de6fc4f7 # Parent ee36642b9b592057d64653d6587f54484f6b597d Fix some (probably benign) uninitialised members (from coverity scan) diff -r ee36642b9b59 -r 44675ab217a3 widgets/Fader.cpp --- 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); diff -r ee36642b9b59 -r 44675ab217a3 widgets/ItemEditDialog.cpp --- a/widgets/ItemEditDialog.cpp Wed Sep 03 12:08:35 2014 +0100 +++ b/widgets/ItemEditDialog.cpp Wed Sep 03 12:10:27 2014 +0100 @@ -32,6 +32,9 @@ QString valueUnits, QWidget *parent) : QDialog(parent), m_sampleRate(sampleRate), + m_defaultFrame(0), + m_defaultDuration(0), + m_defaultValue(0), m_frameTimeSpinBox(0), m_realTimeSecsSpinBox(0), m_realTimeUSecsSpinBox(0), diff -r ee36642b9b59 -r 44675ab217a3 widgets/KeyReference.cpp --- a/widgets/KeyReference.cpp Wed Sep 03 12:08:35 2014 +0100 +++ b/widgets/KeyReference.cpp Wed Sep 03 12:10:27 2014 +0100 @@ -24,6 +24,7 @@ #include KeyReference::KeyReference() : + m_text(0), m_dialog(0) { }