Page MenuHomePhabricator

[LINTER] Work around a cppcheck false positive
ClosedPublic

Authored by Fabien on Jul 12 2021, 12:30.

Details

Reviewers
PiRK
Group Reviewers
Restricted Project
Commits
rABC5825de5b0cc5: [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

Diff Detail

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