motioncells: initialize class variables
Some variables are not initialized in the constructor. It is highly unlikely they are used before being set, but it is safer to initialize them. CID #1197704
This commit is contained in:
parent
5aa292b588
commit
3656e0248a
@ -75,7 +75,12 @@ MotionCells::MotionCells ()
|
|||||||
m_beta = 0.5;
|
m_beta = 0.5;
|
||||||
m_useAlpha = false;
|
m_useAlpha = false;
|
||||||
m_isVisible = false;
|
m_isVisible = false;
|
||||||
|
m_pCells = NULL;
|
||||||
|
m_gridx = 0;
|
||||||
|
m_gridy = 0;
|
||||||
|
m_cellwidth = 0;
|
||||||
|
m_cellheight = 0;
|
||||||
|
m_sensitivity = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
MotionCells::~MotionCells ()
|
MotionCells::~MotionCells ()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user