uninitialized variables-environment and forrest

This commit is contained in:
AzaezelX 2020-05-11 14:56:04 -05:00
parent 2c1508c169
commit 1efb687867
20 changed files with 74 additions and 34 deletions

View file

@ -50,7 +50,7 @@ public:
U32 mTotalValidNodes;
bool mListComplete;
NodeList() { mTotalValidNodes=0; mListComplete=false; }
NodeList() { mId = 0; mTotalValidNodes = 0; mListComplete = false; }
virtual ~NodeList() { }
};
@ -93,7 +93,7 @@ protected:
U32 mListId;
public:
NodeListNotify() { }
NodeListNotify() { mListId = 0; }
virtual ~NodeListNotify() { }
U32 getListId() { return mListId; }
@ -115,7 +115,7 @@ public:
NodeListManager::NodeList* mNodeList;
public:
NodeListEvent() { mNodeList=NULL; mTotalNodes = mLocalListStart = 0; }
NodeListEvent() { mId = 0; mNodeList = NULL; mTotalNodes = mLocalListStart = 0; }
virtual ~NodeListEvent();
virtual void pack(NetConnection*, BitStream*);