Page MenuHomePhabricator

Remove unused variables in shell scripts.
ClosedPublic

Authored by Fabien on Wed, Aug 28, 08:34.

Details

Summary
Remove unused variables in shell scripts. Use _ where we don't care
about the result.

Backport of core PR10771 and PR11649
https://github.com/bitcoin/bitcoin/pull/10771/files
https://github.com/bitcoin/bitcoin/pull/11649/files

Depends on D3955.

Not much change remaining as most of the files have been removed.

Test Plan

Run the git-subtree-check.sh script. It will not output GOOD as we
made changes to all the subtree libraries (at least code formatting).

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.