changeset 845:0f5961c1bb6c

Fix some (probably benign) uninitialised members (from coverity scan)
author Chris Cannam
date Wed, 03 Sep 2014 11:33:57 +0100
parents 5d4e3e36945f
children f84f1828420b
files layer/NoteLayer.cpp
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/layer/NoteLayer.cpp	Wed Sep 03 11:32:08 2014 +0100
+++ b/layer/NoteLayer.cpp	Wed Sep 03 11:33:57 2014 +0100
@@ -49,6 +49,10 @@
     SingleColourLayer(),
     m_model(0),
     m_editing(false),
+    m_dragPointX(0),
+    m_dragPointY(0),
+    m_dragStartX(0),
+    m_dragStartY(0),
     m_originalPoint(0, 0.0, 0, 1.f, tr("New Point")),
     m_editingPoint(0, 0.0, 0, 1.f, tr("New Point")),
     m_editingCommand(0),