mirror of
https://github.com/curl/curl.git
synced 2024-12-09 06:30:06 +08:00
d567cca1de
The open paren check wants to warn for spaces before open parenthesis for if/while/for but also for any function call. In order to avoid catching function pointer declarations, the logic allows a space if the first character after the open parenthesis is an asterisk. I also spotted what we did not include "switch" in the check but we should. This check is a little lame, but we reduce this problem by not allowing that space for if/while/for/switch. Reported-by: Emanuele Torre Closes #11044 |
||
---|---|---|
.. | ||
bearssl.c | ||
bearssl.h | ||
gskit.c | ||
gskit.h | ||
gtls.c | ||
gtls.h | ||
hostcheck.c | ||
hostcheck.h | ||
keylog.c | ||
keylog.h | ||
mbedtls_threadlock.c | ||
mbedtls_threadlock.h | ||
mbedtls.c | ||
mbedtls.h | ||
nss.c | ||
nssg.h | ||
openssl.c | ||
openssl.h | ||
rustls.c | ||
rustls.h | ||
schannel_verify.c | ||
schannel.c | ||
schannel.h | ||
sectransp.c | ||
sectransp.h | ||
vtls_int.h | ||
vtls.c | ||
vtls.h | ||
wolfssl.c | ||
wolfssl.h | ||
x509asn1.c | ||
x509asn1.h |