Page MenuHomePhabricator

Simplify "bool x = y ? true : false". Remove unused function and trailing semicolon.
ClosedPublic

Authored by deadalnix on May 27 2019, 22:34.

Details

Summary
  • [tests] Remove unused function InsecureRandBytes(size_t len)
  • Simplify "bool x = y ? true : false" to "bool x = y"

This is a backport of Core PR10553

Test Plan
make check

Diff Detail

Repository
rABC Bitcoin ABC
Branch
pr10553
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 6025
Build 10109: Bitcoin ABC Buildbot (legacy)
Build 10108: arc lint + arc unit

Event Timeline

This revision is now accepted and ready to land.May 28 2019, 02:08