mirror of
https://github.com/curl/curl.git
synced 2026-08-25 14:53:34 +03:00
clang-tidy: enable more checks, fix fallouts
- enable three checks: - bugprone-invalid-enum-default-initialization - bugprone-sizeof-expression - readability-inconsistent-declaration-parameter-name (strict) - fix remaining discrepancies with arg names in prototypes and implementation, in strict mode. - document reason for some checks tested but not enabled. Closes #20794
This commit is contained in:
parent
e0dd6eb4a4
commit
df6014894b
34 changed files with 222 additions and 209 deletions
|
|
@ -25,7 +25,7 @@
|
|||
***************************************************************************/
|
||||
CURLcode Curl_rand_bytes(struct Curl_easy *data,
|
||||
#ifdef DEBUGBUILD
|
||||
bool allow_env_override,
|
||||
bool env_override,
|
||||
#endif
|
||||
unsigned char *rnd, size_t num);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue