[lowpan] suppress unchecked return warning in Lowpan::Compress() (#3740)

This commit is contained in:
Jonathan Hui
2019-04-08 21:25:37 -07:00
committed by GitHub
parent a43a263a0c
commit ae04d59280
+2 -2
View File
@@ -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