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