Page MenuHomePhabricator

Prevent -Wshadow warnings with gcc versions 4.8.5, 5.3.1 and 6.2.1.
ClosedPublic

Authored by deadalnix on Sep 12 2018, 13:06.

Details

Summary

Backport of core PR9911

Test Plan
make check

Compile with shaddow flag

Diff Detail

Repository
rABC Bitcoin ABC
Branch
corepr9911
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 3282
Build 4650: Bitcoin ABC Buildbot (legacy)
Build 4649: arc lint + arc unit

Event Timeline

sickpig added inline comments.
src/test/script_tests.cpp
39 ↗(On Diff #4892)

why changing var type?

src/test/script_tests.cpp
39 ↗(On Diff #4892)

Mistake.

This revision is now accepted and ready to land.Sep 15 2018, 15:11
This revision was automatically updated to reflect the committed changes.