motioncells: Initialize m_changed_datafile class field

CID 1197704
This commit is contained in:
Sebastian Dröge 2017-02-28 12:53:11 +02:00
parent 40d76ea7a5
commit d520d1b3ed

View file

@ -79,6 +79,7 @@ MotionCells::MotionCells ()
m_cellwidth = 0; m_cellwidth = 0;
m_cellheight = 0; m_cellheight = 0;
m_sensitivity = 0; m_sensitivity = 0;
m_changed_datafile = false;
memset (&m_header, 0, sizeof (MotionCellHeader)); memset (&m_header, 0, sizeof (MotionCellHeader));
m_header.headersize = GINT32_TO_BE (MC_HEADER); m_header.headersize = GINT32_TO_BE (MC_HEADER);