I noticed most CPP code already use nullptr
#16146 replacement PR
ACK after this can be automatically avoided (e.g. by a linter) from here on, I dont' like an infinite stream of these PRs.
Also moved some changes from #16146 over to https://github.com/bitcoin-core/univalue/pull/18
utACK 89bd27259bb898066a2e1616f94d3df0fe0d0b8f
+1 for guarding against introduction of NULL via linting or a compiler warning (#15112 ready for merge?)
ACK
utACK https://github.com/bitcoin/bitcoin/pull/16147/commits/89bd27259bb898066a2e1616f94d3df0fe0d0b8f
after this can be automatically avoided (e.g. by a linter) from here on, I dont' like an infinite stream of these PRs.
👍
Thank you for your contribution. While this stylistic change makes sense on its own, it comes at a cost and risk for the project as a whole. The weak motivation for the change does not justify the burden that it places on the project. A burden could be any of the following:
For more information about refactoring changes and stylistic cleanup, see
Generally, if the style is not mentioned nor enforced by the developer notes, we leave it up to the original author to pick whatever fits them best personally and then leave it that way until the line is touched for other reasons.
Let me know if you have any questions.