# HG changeset patch # User Chris Cannam # Date 1409740328 -3600 # Node ID 5d4e3e36945fff8a7b79b9d16c4d4f14b9f2f4d8 # Parent db0759e4c6c3df00235cb5aed6b8bf8f7478f2fb Fix some (probably benign) uninitialised members (from coverity scan) diff -r db0759e4c6c3 -r 5d4e3e36945f layer/FlexiNoteLayer.cpp --- 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),