Skip to content

Alter comment

Alter comment #2357

Triggered via push January 6, 2025 20:35
Status Success
Total duration 47s
Artifacts

cpp-linter.yml

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

Annotations

10 warnings
src/InertialSense.cpp:24:9 [cppcoreguidelines-macro-usage]: src/InertialSense.cpp#L24
macro 'PRINT_DEBUG' used to declare a constant; consider using a 'constexpr' constant
src/InertialSense.cpp:31:23 [cppcoreguidelines-avoid-non-const-global-variables]: src/InertialSense.cpp#L31
variable 's_is' is non-const and globally accessible, consider making it const
src/InertialSense.cpp:31:23 [cppcoreguidelines-avoid-non-const-global-variables]: src/InertialSense.cpp#L31
variable 's_is' provides global access to a non-const object; consider making the pointed-to data 'const'
src/InertialSense.cpp:32:48 [cppcoreguidelines-avoid-non-const-global-variables]: src/InertialSense.cpp#L32
variable 's_cm_state' is non-const and globally accessible, consider making it const
src/InertialSense.cpp:32:48 [cppcoreguidelines-avoid-non-const-global-variables]: src/InertialSense.cpp#L32
variable 's_cm_state' provides global access to a non-const object; consider making the pointed-to data 'const'
src/InertialSense.cpp:34:12 [modernize-use-trailing-return-type]: src/InertialSense.cpp#L34
use a trailing return type for this function
src/InertialSense.cpp:43:12 [modernize-use-trailing-return-type]: src/InertialSense.cpp#L43
use a trailing return type for this function