Change #270312
| Category | None |
| Changed by | Viktor Szakats <commit@vsz.me> |
| Changed at | Wed 10 Jun 2026 15:15:54 |
| Repository | https://api.github.com/repos/curl/curl |
| Project | curl/curl |
| Branch | master |
| Revision | 97aed9c960a80fce1591efb5638a96be874a34fc |
Comments
tidy-up: drop stray comparisons with literal zero Drop from: - strcmp, strcmpi, strncmp, memcmp, lstat, getrlimit, setrlimit, fseek, fstat - autotools detection snippets. - smooth-gtk-thread: simplify `!var != 0` expression. Closes #21947
Changed files
- docs/examples/anyauthput.c
- docs/examples/ephiperfifo.c
- docs/examples/evhiperfifo.c
- docs/examples/fileupload.c
- docs/examples/ftpupload.c
- docs/examples/ghiper.c
- docs/examples/hiperfifo.c
- docs/examples/http2-upload.c
- docs/examples/httpput.c
- docs/examples/smooth-gtk-thread.c
- docs/examples/synctime.c
- lib/cf-h2-proxy.c
- lib/cookie.c
- lib/curl_fnmatch.c
- lib/ftplistparser.c
- lib/http2.c
- lib/http_proxy.c
- lib/rtsp.c
- lib/vauth/digest.c
- lib/vauth/ntlm.c
- lib/vssh/libssh2.c
- lib/vtls/cipher_suite.c
- lib/vtls/gtls.c
- lib/vtls/mbedtls.c
- lib/vtls/schannel_verify.c
- lib/vtls/wolfssl.c
- m4/curl-functions.m4
- src/tool_vms.c
- tests/libtest/first.c
- tests/libtest/lib1536.c
- tests/libtest/lib1560.c
- tests/libtest/lib3102.c
- tests/libtest/lib518.c
- tests/libtest/lib537.c
- tests/libtest/lib571.c
- tests/libtest/lib576.c
- tests/server/first.c
- tests/server/tftpd.c
- tests/unit/unit1304.c
- tests/unit/unit1620.c
- tests/unit/unit1663.c
- tests/unit/unit1676.c
- tests/unit/unit3205.c