diff options
| author | Jonathan Schoeller <[email protected]> | 2020-06-01 18:05:15 +1000 |
|---|---|---|
| committer | Jonathan Schoeller <[email protected]> | 2020-06-02 06:20:04 +1000 |
| commit | d15db4b1fc988736b08c092d000ca1d1ff686975 (patch) | |
| tree | 9b223f81d2a0deca3d8082216a00ddb13608d93c /src/httpserver.cpp | |
| parent | Merge #16564: test: Always define the raii_event_tests test suite (diff) | |
| download | discoin-d15db4b1fc988736b08c092d000ca1d1ff686975.tar.xz discoin-d15db4b1fc988736b08c092d000ca1d1ff686975.zip | |
refactor: Fix unreachable code in init arg checks
Building with -Wunreachable-code-loop-increment causes a warning
due to always returning on the first iteration of the loop that
outputs errors on invalid args.
Collect all errors, and output them in a single error message
after the loop completes, resolving the warning and avoiding
popup hell by outputting a seperate message for each error.
Diffstat (limited to 'src/httpserver.cpp')
0 files changed, 0 insertions, 0 deletions