mirror of https://github.com/axmolengine/axmol.git
Fix uninitialized variables problems found by drmemory (#19028)
This commit is contained in:
parent
548f50b92b
commit
6a442192d4
|
@ -71,6 +71,7 @@ namespace ui {
|
||||||
|
|
||||||
EditBoxImplWin::EditBoxImplWin(EditBox* pEditText)
|
EditBoxImplWin::EditBoxImplWin(EditBox* pEditText)
|
||||||
: EditBoxImplCommon(pEditText),
|
: EditBoxImplCommon(pEditText),
|
||||||
|
_hwndEdit(NULL),
|
||||||
_changedTextManually(false),
|
_changedTextManually(false),
|
||||||
_hasFocus(false),
|
_hasFocus(false),
|
||||||
_endAction(EditBoxDelegate::EditBoxEndAction::UNKNOWN)
|
_endAction(EditBoxDelegate::EditBoxEndAction::UNKNOWN)
|
||||||
|
|
|
@ -176,7 +176,8 @@ void CameraRotationTest::update(float dt)
|
||||||
//
|
//
|
||||||
//------------------------------------------------------------------
|
//------------------------------------------------------------------
|
||||||
Camera3DTestDemo::Camera3DTestDemo(void)
|
Camera3DTestDemo::Camera3DTestDemo(void)
|
||||||
: _incRot(nullptr)
|
: _cameraType(CameraType::Free)
|
||||||
|
, _incRot(nullptr)
|
||||||
, _decRot(nullptr)
|
, _decRot(nullptr)
|
||||||
, _camera(nullptr)
|
, _camera(nullptr)
|
||||||
, _bZoomOut(false)
|
, _bZoomOut(false)
|
||||||
|
|
Loading…
Reference in New Issue