mirror of
https://github.com/espressif/openthread.git
synced 2026-10-09 01:07:39 +00:00
[test] fix "unused result warning" in newly updated unit tests (#7905)
This commit is contained in:
@@ -500,7 +500,7 @@ void TestIp4Cidr(void)
|
||||
ot::Ip4::Cidr cidr;
|
||||
ot::Ip4::Address generated;
|
||||
|
||||
network.FromString(testCase.mNetwork);
|
||||
SuccessOrQuit(network.FromString(testCase.mNetwork));
|
||||
cidr.mAddress = network;
|
||||
cidr.mLength = testCase.mLength;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user