Skip to content

[nasa/cryptolib#341] Attempt to manually fix const suggestions #46

[nasa/cryptolib#341] Attempt to manually fix const suggestions

[nasa/cryptolib#341] Attempt to manually fix const suggestions #46

Triggered via push November 4, 2024 19:18
Status Success
Total duration 47s
Artifacts

cpp-linter.yml

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

Annotations

10 errors and 10 warnings
support/standalone/standalone.c:29:25 [cppcoreguidelines-avoid-non-const-global-variables]: support/standalone/standalone.c#L29
variable 'keepRunning' is non-const and globally accessible, consider making it const
support/standalone/standalone.c:30:25 [cppcoreguidelines-avoid-non-const-global-variables]: support/standalone/standalone.c#L30
variable 'tc_seq_num' is non-const and globally accessible, consider making it const
support/standalone/standalone.c:31:25 [cppcoreguidelines-avoid-non-const-global-variables]: support/standalone/standalone.c#L31
variable 'tc_vcid' is non-const and globally accessible, consider making it const
support/standalone/standalone.c:32:25 [cppcoreguidelines-avoid-non-const-global-variables]: support/standalone/standalone.c#L32
variable 'tc_debug' is non-const and globally accessible, consider making it const
support/standalone/standalone.c:33:25 [cppcoreguidelines-avoid-non-const-global-variables]: support/standalone/standalone.c#L33
variable 'tm_debug' is non-const and globally accessible, consider making it const
support/standalone/standalone.c:57:5 [readability-redundant-control-flow]: support/standalone/standalone.c#L57
redundant return statement at the end of a function with a void return type
support/standalone/standalone.c:113:9 [readability-function-cognitive-complexity]: support/standalone/standalone.c#L113
function 'crypto_standalone_process_command' has cognitive complexity of 32 (threshold 25)