Page MenuHomePhabricator

Ignore cppcheck error in EraseOrphanTx()
ClosedPublic

Authored by jasonbcox on Jul 9 2020, 16:58.

Details

Reviewers
deadalnix
Group Reviewers
Restricted Project
Commits
rABCa70452ac9861: Ignore cppcheck error in EraseOrphanTx()
Summary

This is an unusual case where another container is actually tracking
the iterator of another container. cppcheck iterators1 is clearly useful,
so we do not want to disable it entirely. Instead, we can simply ignore this
one case.

Test Plan

arc lint net_processing.cpp is green after this patch

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable