Skip to content

Commit

Permalink
[test] fix unused returned error warning in test_message (openthr…
Browse files Browse the repository at this point in the history
  • Loading branch information
abtink authored Oct 9, 2023
1 parent 1b271a4 commit af5938e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/unit/test_message.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ void TestMessage(void)

VerifyOrQuit((message = messagePool->Allocate(Message::kTypeIp6)) != nullptr);
message->SetLinkSecurityEnabled(Message::kWithLinkSecurity);
message->SetPriority(Message::Priority::kPriorityNet);
SuccessOrQuit(message->SetPriority(Message::Priority::kPriorityNet));
message->SetType(Message::Type::kType6lowpan);
message->SetSubType(Message::SubType::kSubTypeMleChildIdRequest);
message->SetLoopbackToHostAllowed(true);
Expand Down

0 comments on commit af5938e

Please sign in to comment.