Change #262007
| Category | curl |
| Changed by | Viktor Szakats <commit@vsz.me> |
| Changed at | Sun 22 Mar 2026 19:15:56 |
| Repository | https://github.com/curl/curl.git |
| Project | curl |
| Branch | master |
| Revision | e8c64a06c5031bd59fdf914e8ac6c8524c0e4375 |
Comments
asyn-thrdd: fix clang-tidy unused value warning
with `-DCURL_DISABLE_SOCKETPAIR=ON`.
```
lib/asyn-thrdd.c:227:5: error: Value stored to 'do_abort' is never read [clang-analyzer-deadcode.DeadStores,-warnings-as-errors]
227 | do_abort = addr_ctx->do_abort;
| ^ ~~~~~~~~~~~~~~~~~~
```
Closes #21061
Changed files
- lib/asyn-thrdd.c