HomePhabricator

scripted-diff: Remove unused first argument to addUnchecked

Description

scripted-diff: Remove unused first argument to addUnchecked

Summary:
-BEGIN VERIFY SCRIPT-
git grep -l addUnchecked | xargs sed --regexp-extended -i -e 's/addUnchecked\([^)][^,]+,\s*/addUnchecked(/g'
-END VERIFY SCRIPT-

This is a partial backport of Core PR13792 : https://github.com/bitcoin/bitcoin/pull/13792/commits/fa587773e59721e187cadc998f4dc236ad3aef0b

It was tweaked due to differences in our codebase.

Depends on D4914

Test Plan:

make check

Reviewers: #bitcoin_abc, markblundeberg

Reviewed By: #bitcoin_abc, markblundeberg

Subscribers: markblundeberg

Differential Revision: https://reviews.bitcoinabc.org/D4915

Details

Provenance
MarcoFalke <falke.marco@gmail.com>Authored on Jul 30 2018, 13:11
deadalnixCommitted on Jan 13 2020, 12:19
deadalnixPushed on Jan 13 2020, 12:47
Reviewer
Restricted Project
Differential Revision
D4915: scripted-diff: Remove unused first argument to addUnchecked
Parents
rSTAGINGa3de297b55ec: Free BerkeleyEnvironment instances when not in use
Branches
Unknown
Tags
Unknown