Fix uninitialized variables problems found by drmemory (#19028)

This commit is contained in:
CHP 2018-09-10 05:23:14 +02:00 committed by leda
parent 548f50b92b
commit 6a442192d4
2 changed files with 3 additions and 1 deletions

View File

@ -71,6 +71,7 @@ namespace ui {
EditBoxImplWin::EditBoxImplWin(EditBox* pEditText)
: EditBoxImplCommon(pEditText),
_hwndEdit(NULL),
_changedTextManually(false),
_hasFocus(false),
_endAction(EditBoxDelegate::EditBoxEndAction::UNKNOWN)

View File

@ -176,7 +176,8 @@ void CameraRotationTest::update(float dt)
//
//------------------------------------------------------------------
Camera3DTestDemo::Camera3DTestDemo(void)
: _incRot(nullptr)
: _cameraType(CameraType::Free)
, _incRot(nullptr)
, _decRot(nullptr)
, _camera(nullptr)
, _bZoomOut(false)