Skip to content

Commit

Permalink
Address comments
Browse files Browse the repository at this point in the history
  • Loading branch information
jmartinez-silabs committed Oct 9, 2024
1 parent 9014555 commit 93f9267
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/platform/silabs/DiagnosticDataProviderImpl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ CHIP_ERROR DiagnosticDataProviderImpl::GetThreadMetrics(ThreadMetrics ** threadM
uint32_t threadCount = osThreadGetCount();
osThreadId_t * threadIdTable = static_cast<osThreadId_t *>(chip::Platform::MemoryCalloc(threadCount, sizeof(osThreadId_t)));

if (threadIdTable != NULL)
if (threadIdTable != nullptr)
{
osThreadEnumerate(threadIdTable, threadCount);
for (uint8_t tIdIndex = 0; tIdIndex < threadCount; tIdIndex++)
Expand Down

0 comments on commit 93f9267

Please sign in to comment.