[posix] fix fall-through issue (#7066)

When compiling OpenThread in Android, the compiler generates an error:
unannotated fall-through between switch labels [-Werror,-Wimplicit-fallthrough]
This commit is contained in:
Zhanglong Xia
2021-10-13 10:31:35 -07:00
committed by GitHub
parent 9e26a5deab
commit 987fcfa2d6
+1
View File
@@ -423,6 +423,7 @@ void InfraNetif::ReceiveNetLinkMessage(void)
OT_UNUSED_VARIABLE(errMsg);
otLogWarnPlat("netlink NLMSG_ERROR response: seq=%u, error=%d", header->nlmsg_seq, errMsg->error);
break;
}
default:
break;