mirror of
https://github.com/espressif/openthread.git
synced 2026-07-30 07:37:46 +00:00
[lowpan] suppress unchecked return warning in Lowpan::Compress() (#3740)
This commit is contained in:
@@ -448,8 +448,8 @@ compress:
|
||||
exit:
|
||||
if (error == OT_ERROR_NONE)
|
||||
{
|
||||
aBuf.Write(hcCtl >> 8);
|
||||
aBuf.Write(hcCtl & 0xff);
|
||||
IgnoreReturnValue(aBuf.Write(hcCtl >> 8));
|
||||
IgnoreReturnValue(aBuf.Write(hcCtl & 0xff));
|
||||
aBuf = buf;
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user