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
- Branch
- fix_gcc-Wreturn-type
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 21695 Build 43030: Build Diff lint-circular-dependencies · build-without-wallet · build-diff · build-debug · build-clang-tidy · build-clang Build 43029: arc lint + arc unit
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 |