Skip to content

Commit

Permalink
Update src/app/reporting/SynchronizedReportSchedulerImpl.cpp
Browse files Browse the repository at this point in the history
Co-authored-by: Junior Martinez <67972863+jmartinez-silabs@users.noreply.github.com>
  • Loading branch information
lpbeliveau-silabs and jmartinez-silabs authored Nov 23, 2023
1 parent 5742cbe commit 0114bb9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/app/reporting/SynchronizedReportSchedulerImpl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -212,8 +212,7 @@ void SynchronizedReportSchedulerImpl::TimerFired()
return Loop::Break;
});

bool firstNodeFound = (nullptr != firstNode);
VerifyOrReturn(firstNodeFound);
VerifyOrReturn(firstNode); // Verify we have a valid node

Timeout timeout = Milliseconds32(0);
ReturnOnFailure(CalculateNextReportTimeout(timeout, firstNode, now));
Expand Down

0 comments on commit 0114bb9

Please sign in to comment.