mirror of
https://github.com/espressif/openthread.git
synced 2026-08-13 14:17:47 +00:00
[coap] remove unnecessary value store (#6973)
To remove compiler warning: Value stored to 'isOptionSet' is never read
This commit is contained in:
@@ -625,8 +625,6 @@ Error CoapBase::PrepareNextBlockRequest(Message::BlockType aType,
|
||||
aRequest.SetBlockWiseBlockNumber(aMessage.GetBlockWiseBlockNumber() + 1);
|
||||
aRequest.SetBlockWiseBlockSize(aMessage.GetBlockWiseBlockSize());
|
||||
aRequest.SetMoreBlocksFlag(aMoreBlocks);
|
||||
|
||||
isOptionSet = true;
|
||||
}
|
||||
|
||||
exit:
|
||||
|
||||
Reference in New Issue
Block a user