Change #247046
| Category | curl |
| Changed by | Viktor Szakats <commit@vsz.me> |
| Changed at | Wed 29 Oct 2025 16:17:34 |
| Repository | https://github.com/curl/curl.git |
| Project | curl |
| Branch | master |
| Revision | 7973cb0b3ef2f2de677e65bc29062c122536262b |
Comments
http: fix `-Wunreachable-code` in !websockets !unity builds
Also requires non-unity build. Possibly more non-default options are
necessary to reproduce. Seen with llvm/clang.
```
lib/http.c:1856:15: error: code will never be executed [-Werror,-Wunreachable-code]
1856 | httpreq = HTTPREQ_GET;
| ^~~~~~~~~~~
1 error generated.
```
Closes #19275
Changed files
- lib/http.c