mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-14 12:43:40 +02:00
[clang-tidy] Enable the misc-no-recursion check
Co-authored-by: stickies-v <stickies-v@protonmail.com> Co-authored-by: Gloria Zhao <gloriajzhao@gmail.com>
This commit is contained in:
parent
f0794cbd40
commit
78407b99ed
17 changed files with 39 additions and 0 deletions
|
|
@ -406,6 +406,7 @@ public:
|
|||
NodeContext* m_context{nullptr};
|
||||
};
|
||||
|
||||
// NOLINTNEXTLINE(misc-no-recursion)
|
||||
bool FillBlock(const CBlockIndex* index, const FoundBlock& block, UniqueLock<RecursiveMutex>& lock, const CChain& active, const BlockManager& blockman)
|
||||
{
|
||||
if (!index) return false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue