HomePhabricator

scripted-diff: Remove unused first argument to addUnchecked

Authored by MarcoFalke <falke.marco@gmail.com> on Jul 30 2018, 13:11.

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

Committed
deadalnixJan 13 2020, 12:19
Pushed
deadalnixJan 13 2020, 12:19
Reviewer
Restricted Project
Differential Revision
D4915: scripted-diff: Remove unused first argument to addUnchecked
Parents
rABCa3de297b55ec: Free BerkeleyEnvironment instances when not in use
Branches
Unknown
Tags
Unknown