Remove two instances of Conditional jump or move depends on uninitialised value(s) as reported by valgrind
This commit is contained in:
parent
b4f0e43ccc
commit
168a50756e
2 changed files with 2 additions and 0 deletions
|
@ -78,6 +78,7 @@ FGAIAircraft::FGAIAircraft(FGAISchedule* ref) : /* HOT must be disabled for AI A
|
||||||
tgt_speed = 0;
|
tgt_speed = 0;
|
||||||
speed = 0;
|
speed = 0;
|
||||||
groundTargetSpeed = 0;
|
groundTargetSpeed = 0;
|
||||||
|
spinCounter = 0;
|
||||||
|
|
||||||
// set heading and altitude locks
|
// set heading and altitude locks
|
||||||
hdg_lock = false;
|
hdg_lock = false;
|
||||||
|
|
|
@ -1034,6 +1034,7 @@ static bool do_cpdlc_disconnect(const SGPropertyNode* arg, SGPropertyNode* root)
|
||||||
//////////////////////////////////////////////////////////////////////
|
//////////////////////////////////////////////////////////////////////
|
||||||
FGMultiplayMgr::FGMultiplayMgr()
|
FGMultiplayMgr::FGMultiplayMgr()
|
||||||
{
|
{
|
||||||
|
mPropertiesChanged = false;
|
||||||
mInitialised = false;
|
mInitialised = false;
|
||||||
mHaveServer = false;
|
mHaveServer = false;
|
||||||
mListener = NULL;
|
mListener = NULL;
|
||||||
|
|
Loading…
Reference in a new issue