[bitcoin/bitcoin] bench: Don’t return a bool from main (#13349)

Return `1` from `main()` on error, not the bool `false` (introduced in #13112). This is the correct value to return on error, and also shuts up a clang warning.
You can view, comment on, or merge this pull request online at:

https://github.com/bitcoin/bitcoin/pull/13349

— Commit Summary —

* bench: Don’t return a bool from main

— File Changes —

M src/bench/bench_bitcoin.cpp (2)

— Patch Links —

https://github.com/bitcoin/bitcoin/pull/13349.patch
https://github.com/bitcoin/bitcoin/pull/13349.diff

Добавить комментарий