Skip to content

150 conditional error code review #125

150 conditional error code review

150 conditional error code review #125

Triggered via pull request February 4, 2025 17:01
Status Success
Total duration 34s
Artifacts

cpp-linter.yml

on: pull_request
cpp-linter
24s
cpp-linter
Fit to window
Zoom out
Zoom in

Annotations

10 errors, 10 warnings, and 10 notices
src/crypto/kmc/jsmn.h:104:66 [readability-avoid-const-params-in-decls]: src/crypto/kmc/jsmn.h#L104
parameter 'len' is const-qualified in the function declaration; const-qualification of parameters only has an effect in function definitions
src/crypto/kmc/jsmn.h:105:29 [readability-avoid-const-params-in-decls]: src/crypto/kmc/jsmn.h#L105
parameter 'num_tokens' is const-qualified in the function declaration; const-qualification of parameters only has an effect in function definitions
support/standalone/standalone.h:120:39 [readability-avoid-const-params-in-decls]: support/standalone/standalone.h#L120
parameter 'signal' is const-qualified in the function declaration; const-qualification of parameters only has an effect in function definitions
Run clang-format on support/standalone/standalone.h: support/standalone/standalone.h#L1
File support/standalone/standalone.h does not conform to Custom style guidelines. (lines 93, 116, 119)
Run clang-format on include/crypto.h: include/crypto.h#L1
File include/crypto.h does not conform to Custom style guidelines. (lines 139, 140, 141, 142, 236, 323, 325, 326, 327, 337)
Run clang-format on include/crypto_config_structs.h: include/crypto_config_structs.h#L1
File include/crypto_config_structs.h does not conform to Custom style guidelines. (lines 247, 248, 249, 250, 252, 253, 254, 255, 257, 268, 269, 271, 272, 273, 274, 275, 276, 277, 278, 290, 291, 292, 293, 294)
Run clang-format on src/mc/internal/mc_interface_internal.template.c: src/mc/internal/mc_interface_internal.template.c#L1
File src/mc/internal/mc_interface_internal.template.c does not conform to Custom style guidelines. (lines 22)
Run clang-format on src/sa/mariadb/sa_interface_mariadb.template.c: src/sa/mariadb/sa_interface_mariadb.template.c#L1
File src/sa/mariadb/sa_interface_mariadb.template.c does not conform to Custom style guidelines. (lines 76, 549, 550)
Run clang-format on src/sa/internal/sa_interface_inmemory.template.c: src/sa/internal/sa_interface_inmemory.template.c#L1
File src/sa/internal/sa_interface_inmemory.template.c does not conform to Custom style guidelines. (lines 77, 171, 1585, 1591)
Run clang-format on src/core/crypto_aos.c: src/core/crypto_aos.c#L1
File src/core/crypto_aos.c does not conform to Custom style guidelines. (lines 910)
Run clang-format on src/core/crypto_tc.c: src/core/crypto_tc.c#L1
File src/core/crypto_tc.c does not conform to Custom style guidelines. (lines 342, 343, 344, 618, 619, 808, 941, 942, 947, 953, 1754, 1758, 1759)
Run clang-format on src/core/crypto_tm.c: src/core/crypto_tm.c#L1
File src/core/crypto_tm.c does not conform to Custom style guidelines. (lines 1703, 1708, 1709)
Run clang-format on src/core/crypto_key_mgmt.c: src/core/crypto_key_mgmt.c#L1
File src/core/crypto_key_mgmt.c does not conform to Custom style guidelines. (lines 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 219, 338, 402)