Skip to content

Conversation

@vszakats
Copy link
Member

@vszakats vszakats commented Oct 2, 2025

Cherry-picked from #18797

FreeBSD cmake, and clang-tidy:
```
/home/runner/work/curl/curl/lib/multi.c:1107:28: error: code will never be executed [-Werror,-Wunreachable-code]
 1107 |     size_t timeout_count = Curl_llist_count(&data->state.timeoutlist);
      |                            ^~~~~~~~~~~~~~~~
/home/runner/work/curl/curl/lib/multi.c:3054:35: error: code will never be executed [-Werror,-Wunreachable-code]
 3054 |       struct Curl_llist_node *e = Curl_llist_head(&data->state.timeoutlist);
      |                                   ^~~~~~~~~~~~~~~
/home/runner/work/curl/curl/lib/multi.c:3380:7: error: code will never be executed [-Werror,-Wunreachable-code]
 3380 |       Curl_llist_head(&data->state.timeoutlist);
      |       ^~~~~~~~~~~~~~~
3 errors generated.
```
Ref: https://github.com/curl/curl/actions/runs/18177771802/job/51747389974?pr=18797#step:3:2010
Ref: https://github.com/curl/curl/actions/runs/18177900713/job/51747803940?pr=18797#step:8:464
/Users/runner/work/curl/curl/lib/asyn-ares.c:751:17: error: code will never be executed [clang-diagnostic-unreachable-code,-warnings-as-errors]
  751 |     char *csv = ares_get_servers_csv(ares->channel);
      |                 ^~~~~~~~~~~~~~~~~~~~
1 warning generated.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant