diff layer/NoteLayer.cpp @ 845:0f5961c1bb6c

Fix some (probably benign) uninitialised members (from coverity scan)
author Chris Cannam
date Wed, 03 Sep 2014 11:33:57 +0100
parents 4c8ca536b54f
children b66fb15de477
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),