From 0b911c3f2aa3a92fba8a98d35afc87113643b898 Mon Sep 17 00:00:00 2001 From: Jonathan Hui Date: Tue, 2 May 2017 13:32:38 -0700 Subject: [PATCH] Add initializer for `mParentLeaderCost`. (#1694) --- src/core/thread/mle.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/core/thread/mle.cpp b/src/core/thread/mle.cpp index 2255c8b88..27b1f35ec 100644 --- a/src/core/thread/mle.cpp +++ b/src/core/thread/mle.cpp @@ -79,6 +79,7 @@ Mle::Mle(ThreadNetif &aThreadNetif) : mDelayedResponseTimer(aThreadNetif.GetIp6().mTimerScheduler, &Mle::HandleDelayedResponseTimer, this), mLastPartitionRouterIdSequence(0), mLastPartitionId(0), + mParentLeaderCost(0), mParentRequestMode(kMleAttachAnyPartition), mParentPriority(0), mParentLinkQuality3(0),