changeset 844:5d4e3e36945f

Fix some (probably benign) uninitialised members (from coverity scan)
author Chris Cannam
date Wed, 03 Sep 2014 11:32:08 +0100
parents db0759e4c6c3
children 0f5961c1bb6c
files layer/FlexiNoteLayer.cpp
diffstat 1 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/layer/FlexiNoteLayer.cpp	Wed Sep 03 11:31:09 2014 +0100
+++ b/layer/FlexiNoteLayer.cpp	Wed Sep 03 11:32:08 2014 +0100
@@ -62,8 +62,14 @@
     m_model(0),
     m_editing(false),
     m_intelligentActions(true),
+    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_greatestLeftNeighbourFrame(0),
+    m_smallestRightNeighbourFrame(0),
     m_editingCommand(0),
     m_verticalScale(AutoAlignScale),
     m_editMode(DragNote),