Skip to content

typo in test_ISFirmwareUpdate.cpp? #2409

typo in test_ISFirmwareUpdate.cpp?

typo in test_ISFirmwareUpdate.cpp? #2409

Triggered via push January 14, 2025 21:12
Status Success
Total duration 37s
Artifacts

cpp-linter.yml

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

Annotations

1 error and 10 warnings
tests/test_ISFirmwareUpdate.cpp:22:20 [cppcoreguidelines-avoid-non-const-global-variables]: tests/test_ISFirmwareUpdate.cpp#L22
variable 'MSG_TYPES' is non-const and globally accessible, consider making it const
tests/test_ISFirmwareUpdate.cpp:24:18 [cppcoreguidelines-avoid-non-const-global-variables]: tests/test_ISFirmwareUpdate.cpp#L24
variable 'fake_md5' is non-const and globally accessible, consider making it const
tests/test_ISFirmwareUpdate.cpp:25:18 [cppcoreguidelines-avoid-non-const-global-variables]: tests/test_ISFirmwareUpdate.cpp#L25
variable 'real_md5' is non-const and globally accessible, consider making it const
tests/test_ISFirmwareUpdate.cpp:39:7 [cppcoreguidelines-special-member-functions]: tests/test_ISFirmwareUpdate.cpp#L39
class 'ExchangeBuffer' defines a non-default destructor but does not define a copy constructor, a copy assignment operator, a move constructor or a move assignment operator
tests/test_ISFirmwareUpdate.cpp:51:20 [bugprone-easily-swappable-parameters]: tests/test_ISFirmwareUpdate.cpp#L51
2 adjacent parameters of 'removeData' of similar type ('int') are easily swapped by mistake