Change #286538
| Category | curl |
| Changed by | Vasiliy-Kkk <61242428+Vasiliy-Kkk@users.noreply.github.com> |
| Changed at | Fri 16 Oct 2026 16:52:18 |
| Repository | https://github.com/curl/curl.git |
| Project | curl |
| Branch | master |
| Revision | ee3c438295c3e7d0c88b3544e1814e3437528917 |
Comments
socketpair: fix compiler warning `-Wunreachable-code`
Fixing (seen with clang, FreeBSD/Linux with no or disabled eventfd):
```
lib/socketpair.c:75:6: error: code will never be executed [-Wunreachable-code]
75 | if(pipe(socks))
| ^~~~
```
Follow-up to c2a94ba9ba70b4b6378b18cb3f04504162542723 #23126
Closes #23437
Changed files
- lib/socketpair.c