The peer variable shadows the function argument. The stat variable is fine but very close to stats which can be confusing.
This diff prefixes the local variables with an underscore to make it less confusing and avoid the shadowing.
Details
Details
- Reviewers
PiRK - Group Reviewers
Restricted Project - Commits
- rABCcf7ca3c40b3e: Fix a -Wshadow warning in net_processing.cpp
With Clang:
ninja
Diff Detail
Diff Detail
- Repository
- rABC Bitcoin ABC
- Lint
Lint Not Applicable - Unit
Tests Not Applicable