Add explicit fall through comments. (#1018)

This commit is contained in:
Jonathan Hui
2016-11-29 12:32:31 -08:00
committed by GitHub
parent 2fec3abdb0
commit 23feac4336
2 changed files with 4 additions and 0 deletions
+2
View File
@@ -411,6 +411,8 @@ int Lowpan::Compress(Message &aMessage, const Mac::Address &aMacSource, const Ma
cur += Compress(aMessage, aMacSource, aMacDest, cur);
// fall through
default:
ExitNow();
}
+2
View File
@@ -1724,6 +1724,8 @@ void MleRouter::HandleStateUpdateTimer(void)
ExitNow();
}
// fall through
case kDeviceStateRouter:
// verify path to leader
otLogDebgMle("network id timeout = %d", GetLeaderAge());