Skip to content

Sn 6192 cltool evm (#816) (#817) #2472

Sn 6192 cltool evm (#816) (#817)

Sn 6192 cltool evm (#816) (#817) #2472

Triggered via push January 25, 2025 22:59
Status Success
Total duration 43s
Artifacts

cpp-linter.yml

on: push
cpp-linter
36s
cpp-linter
Fit to window
Zoom out
Zoom in

Annotations

1 error and 10 warnings
cltool/src/cltool.cpp:14:10 [modernize-deprecated-headers]: cltool/src/cltool.cpp#L14
inclusion of deprecated C++ header 'string.h'; consider using 'cstring' instead
cltool/src/cltool.cpp:19:15 [cppcoreguidelines-avoid-non-const-global-variables]: cltool/src/cltool.cpp#L19
variable 'g_commandLineOptions' is non-const and globally accessible, consider making it const
cltool/src/cltool.cpp:20:15 [cppcoreguidelines-avoid-non-const-global-variables]: cltool/src/cltool.cpp#L20
variable 'g_serialPort' is non-const and globally accessible, consider making it const
cltool/src/cltool.cpp:21:23 [cppcoreguidelines-avoid-non-const-global-variables]: cltool/src/cltool.cpp#L21
variable 'g_inertialSenseDisplay' is non-const and globally accessible, consider making it const
cltool/src/cltool.cpp:22:13 [cppcoreguidelines-avoid-non-const-global-variables]: cltool/src/cltool.cpp#L22
variable 'g_internal' is non-const and globally accessible, consider making it const
cltool/src/cltool.cpp:24:5 [modernize-use-trailing-return-type]: cltool/src/cltool.cpp#L24
use a trailing return type for this function
cltool/src/cltool.cpp:24:37 [bugprone-easily-swappable-parameters]: cltool/src/cltool.cpp#L24
2 adjacent parameters of 'cltool_serialPortSendComManager' of similar type ('int') are easily swapped by mistake
cltool/src/cltool.cpp:31:6 [modernize-use-trailing-return-type]: cltool/src/cltool.cpp#L31
use a trailing return type for this function
cltool/src/cltool.cpp:48:13 [modernize-use-trailing-return-type]: cltool/src/cltool.cpp#L48
use a trailing return type for this function