diff options
| author | Wladimir J. van der Laan <[email protected]> | 2018-05-30 19:52:58 +0200 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2018-05-31 07:22:33 +0200 |
| commit | 493a166948329c6122c00793f6423187e17ef726 (patch) | |
| tree | 165e9a6ea3cb9f04a46df548386aeb3cd5186a80 /src/httpserver.cpp | |
| parent | Merge #13112: Throw an error for unknown args (diff) | |
| download | discoin-493a166948329c6122c00793f6423187e17ef726.tar.xz discoin-493a166948329c6122c00793f6423187e17ef726.zip | |
bench: Don't return a bool from main
Return `EXIT_SUCCESS` 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.
Also add a final return for clarity.
Diffstat (limited to 'src/httpserver.cpp')
0 files changed, 0 insertions, 0 deletions