HomePhabricator

[LINTER] Work around a cppcheck false positive

Description

[LINTER] Work around a cppcheck false positive

Summary:
Cppcheck is raising another new false positive container out of bounds in the processor tests. Fortunately this time we can work around it easily without having to add an exception.
Note: emplace() would be better but cppcheck disagrees.

Test Plan:

ninja check-avalanche
arc lint

Reviewers: #bitcoin_abc, PiRK

Reviewed By: #bitcoin_abc, PiRK

Differential Revision: https://reviews.bitcoinabc.org/D9765

Details

Provenance
FabienAuthored on Jul 12 2021, 12:28
FabienPushed on Jul 12 2021, 14:01
Reviewer
Restricted Project
Differential Revision
D9765: [LINTER] Work around a cppcheck false positive
Parents
rABCcfe13e06ec0b: [avalanche] Do not bucket brigade broadcast handling
Branches
Unknown
Tags
Unknown