The RPCArg::ToStringObj method is supposed to return a string, but in the case of an unused type conversion it will raise an error and not return anything.
Details
Details
- Reviewers
sdulfari - Group Reviewers
Restricted Project - Commits
- rABCb19d99828848: Fix a -Wreturn-type warning with GCC
With GCC 12:
ninja
Check the warning is gone.
Diff Detail
Diff Detail
- Repository
- rABC Bitcoin ABC
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
Comment Actions
Although we don't expect this code to execute, it should at least appear sane if it did.
src/rpc/util.cpp | ||
---|---|---|
952 ↗ | (On Diff #37458) |