mirror of
https://github.com/espressif/openthread.git
synced 2026-10-17 13:17:44 +00:00
Fix uninitialized members. (#1465)
This commit is contained in:
@@ -63,7 +63,12 @@ MeshForwarder::MeshForwarder(ThreadNetif &aThreadNetif):
|
||||
mMessageNextOffset(0),
|
||||
mPollPeriod(0),
|
||||
mAssignPollPeriod(0),
|
||||
mSendMessageFrameCounter(0),
|
||||
mSendMessage(NULL),
|
||||
mSendMessageIsARetransmission(false),
|
||||
mSendMessageMaxMacTxAttempts(Mac::kDirectFrameMacTxAttempts),
|
||||
mSendMessageKeyId(0),
|
||||
mSendMessageDataSequenceNumber(0),
|
||||
mMeshSource(Mac::kShortAddrInvalid),
|
||||
mMeshDest(Mac::kShortAddrInvalid),
|
||||
mAddMeshHeader(false),
|
||||
|
||||
@@ -81,6 +81,7 @@ Mle::Mle(ThreadNetif &aThreadNetif) :
|
||||
mParentLinkQuality3(0),
|
||||
mParentLinkQuality2(0),
|
||||
mParentLinkQuality1(0),
|
||||
mChildUpdateAttempts(0),
|
||||
mParentIsSingleton(false),
|
||||
mSocket(aThreadNetif.GetIp6().mUdp),
|
||||
mTimeout(kMleEndDeviceTimeout),
|
||||
|
||||
Reference in New Issue
Block a user