1
0
Fork 0

Remove two instances of Conditional jump or move depends on uninitialised value(s) as reported by valgrind

This commit is contained in:
Erik Hofman 2021-01-22 11:00:48 +01:00
parent b4f0e43ccc
commit 168a50756e
2 changed files with 2 additions and 0 deletions

View file

@ -78,6 +78,7 @@ FGAIAircraft::FGAIAircraft(FGAISchedule* ref) : /* HOT must be disabled for AI A
tgt_speed = 0;
speed = 0;
groundTargetSpeed = 0;
spinCounter = 0;
// set heading and altitude locks
hdg_lock = false;

View file

@ -1034,6 +1034,7 @@ static bool do_cpdlc_disconnect(const SGPropertyNode* arg, SGPropertyNode* root)
//////////////////////////////////////////////////////////////////////
FGMultiplayMgr::FGMultiplayMgr()
{
mPropertiesChanged = false;
mInitialised = false;
mHaveServer = false;
mListener = NULL;