Repository navigation
build: Enable -Wunused - #36167
build: Enable -Wunused#36167fanquake wants to merge 3 commits into
-Wunused#36167Conversation
|
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers. External sites
ReviewsSee the guideline and AI policy for information on the review process. ConflictsReviewers, this pull request conflicts with the following ones:
If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first. |
|
🚧 At least one of the CI tasks failed. HintsTry to run the tests locally, according to the documentation. However, a CI failure may still
Leave a comment here, if you need help tracking down a confusing failure. |
6124e6c to
cc8732c
Compare
cc8732c to
a04be30
Compare
a04be30 to
6e5eb69
Compare
57f6076 to
352c82a
Compare
9449723 Squashed 'src/leveldb/' changes from 24a446f834..e267773191 (fanquake) Pull request description: Includes: * bitcoin-core/leveldb-subtree#67 * bitcoin-core/leveldb-subtree#69 67 could be used in #36167. There's a followup to 67 in bitcoin-core/leveldb-subtree#68, which could be used in #36743. ACKs for top commit: sedited: ACK 7580a91 hebasto: ACK 7580a91. Tree-SHA512: 3d626180789566c7288c084c396dd4610d0cadd1b0a427a725d463e0792bb90ed80bde0f8796793e461003590190cc77933649fd9fd8ab1d17f7060c2c2ae9ca
352c82a to
e563664
Compare
71a4371 to
8074b36
Compare
8074b36 to
2322fd4
Compare

We've had a handful of dead code removal PRs recently:
DeserializeFromFuzzingInputparams overload #35679IsNull()methods #36012DynSock::Pipe::GetNetMsgandPushNetMsg#36713Also well as an instance of what was thought to be dead code, but it'd just been forgotten to be used: #36137.
It could be beneficial to get
-Wunusedenabled, to catch dead/unused code in CI.Enabling some of these flags may also help enforce other stuff, like
inline constexprusage (#35852). i.e:Based on: