Skip to content

4.5.1 release

4.5.1 release #134

Triggered via pull request July 12, 2024 17:15
Status Success
Total duration 52s
Artifacts

c-linter.yml

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

Annotations

10 errors and 10 warnings
lib/sll.h:90:5 [clang-diagnostic-error]: lib/sll.h#L90
unknown type name 'u_int16_t'
lib/sll.h:91:5 [clang-diagnostic-error]: lib/sll.h#L91
unknown type name 'u_int16_t'
lib/sll.h:92:5 [clang-diagnostic-error]: lib/sll.h#L92
unknown type name 'u_int16_t'
lib/sll.h:93:5 [clang-diagnostic-error]: lib/sll.h#L93
unknown type name 'u_int8_t'
lib/sll.h:94:5 [clang-diagnostic-error]: lib/sll.h#L94
unknown type name 'u_int16_t'
lib/sll.h:103:5 [clang-diagnostic-error]: lib/sll.h#L103
unknown type name 'u_int16_t'
lib/sll.h:104:5 [clang-diagnostic-error]: lib/sll.h#L104
unknown type name 'u_int16_t'
lib/sll.h:105:5 [clang-diagnostic-error]: lib/sll.h#L105
unknown type name 'u_int32_t'
lib/sll.h:106:5 [clang-diagnostic-error]: lib/sll.h#L106
unknown type name 'u_int16_t'
lib/sll.h:107:5 [clang-diagnostic-error]: lib/sll.h#L107
unknown type name 'u_int8_t'
src/common/err.c:53:5 [cppcoreguidelines-avoid-non-const-global-variables]: src/common/err.c#L53
variable 'print_warnings' is non-const and globally accessible, consider making it const
src/common/err.h:53:12 [cppcoreguidelines-avoid-non-const-global-variables]: src/common/err.h#L53
variable 'print_warnings' is non-const and globally accessible, consider making it const
src/common/flows.c:164:13 [bugprone-easily-swappable-parameters]: src/common/flows.c#L164
2 adjacent parameters of 'flow_decode' of similar type ('const int') are easily swapped by mistake
src/common/flows.c:210:16 [cppcoreguidelines-init-variables]: src/common/flows.c#L210
variable 'required_len' is not initialized
src/common/flows.c:233:16 [cppcoreguidelines-init-variables]: src/common/flows.c#L233
variable 'required_len' is not initialized
src/common/flows.c:269:16 [cppcoreguidelines-init-variables]: src/common/flows.c#L269
variable 'required_len' is not initialized
src/common/flows.c:283:16 [cppcoreguidelines-init-variables]: src/common/flows.c#L283
variable 'required_len' is not initialized
src/common/flows.c:298:16 [cppcoreguidelines-init-variables]: src/common/flows.c#L298
variable 'required_len' is not initialized
src/common/flows.h:41:31 [readability-avoid-const-params-in-decls]: src/common/flows.h#L41
parameter 'expiry' is const-qualified in the function declaration; const-qualification of parameters only has an effect in function definitions