mirror of
https://github.com/espressif/openthread.git
synced 2026-08-05 02:17:47 +00:00
[style] replace NULL with nullptr (#5109)
This commit is contained in:
@@ -690,13 +690,13 @@ otError Dataset::ProcessMgmtGetCommand(uint8_t aArgsLength, char *aArgs[])
|
||||
{
|
||||
SuccessOrExit(error = otDatasetSendMgmtActiveGet(mInterpreter.mInstance, &datasetComponents, tlvs,
|
||||
static_cast<uint8_t>(length),
|
||||
destAddrSpecified ? &address : NULL));
|
||||
destAddrSpecified ? &address : nullptr));
|
||||
}
|
||||
else if (strcmp(aArgs[0], "pending") == 0)
|
||||
{
|
||||
SuccessOrExit(error = otDatasetSendMgmtPendingGet(mInterpreter.mInstance, &datasetComponents, tlvs,
|
||||
static_cast<uint8_t>(length),
|
||||
destAddrSpecified ? &address : NULL));
|
||||
destAddrSpecified ? &address : nullptr));
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user