Skip to content

Merge pull request #126 from arkedge/feature/example-code-generator-c… #100

Merge pull request #126 from arkedge/feature/example-code-generator-c…

Merge pull request #126 from arkedge/feature/example-code-generator-c… #100

GitHub Actions / clang-tidy -Wextra completed Oct 12, 2023 in 1s

reviewdog [clang-tidy -Wextra] report

reported by reviewdog 🐶

Findings (2)

/home/runner/work/c2a-core/c2a-core/c2a_user/examples/mobc/src/src_core/applications/divided_cmd_utility.c|284 col 3| Value stored to 'exec_log' is never read [clang-analyzer-deadcode.DeadStores]
exec_log = &divided_cmd_utility_.exec_logs[log_idx];
^
/home/runner/work/c2a-core/c2a-core/c2a_user/examples/mobc/src/src_core/applications/divided_cmd_utility.c:284:3: note: Value stored to 'exec_log' is never read
/home/runner/work/c2a-core/c2a-core/c2a_user/examples/mobc/src/src_core/applications/telemetry_manager.c|453 col 69| unused parameter 'bc_role' [clang-diagnostic-unused-parameter]
TLM_MGR_BC_ROLE bc_role,
^

Filtered Findings (0)

Annotations

Check warning on line 284 in /home/runner/work/c2a-core/c2a-core/c2a_user/examples/mobc/src/src_core/applications/divided_cmd_utility.c

See this annotation in the file changed.

@github-actions github-actions / clang-tidy -Wextra

[clang-tidy -Wextra] /home/runner/work/c2a-core/c2a-core/c2a_user/examples/mobc/src/src_core/applications/divided_cmd_utility.c#L284

Value stored to 'exec_log' is never read [clang-analyzer-deadcode.DeadStores]
  exec_log = &divided_cmd_utility_.exec_logs[log_idx];
  ^
/home/runner/work/c2a-core/c2a-core/c2a_user/examples/mobc/src/src_core/applications/divided_cmd_utility.c:284:3: note: Value stored to 'exec_log' is never read
Raw output
/home/runner/work/c2a-core/c2a-core/c2a_user/examples/mobc/src/src_core/applications/divided_cmd_utility.c:284:3: warning: Value stored to 'exec_log' is never read [clang-analyzer-deadcode.DeadStores]
  exec_log = &divided_cmd_utility_.exec_logs[log_idx];
  ^
/home/runner/work/c2a-core/c2a-core/c2a_user/examples/mobc/src/src_core/applications/divided_cmd_utility.c:284:3: note: Value stored to 'exec_log' is never read

Check warning on line 453 in /home/runner/work/c2a-core/c2a-core/c2a_user/examples/mobc/src/src_core/applications/telemetry_manager.c

See this annotation in the file changed.

@github-actions github-actions / clang-tidy -Wextra

[clang-tidy -Wextra] /home/runner/work/c2a-core/c2a-core/c2a_user/examples/mobc/src/src_core/applications/telemetry_manager.c#L453

unused parameter 'bc_role' [clang-diagnostic-unused-parameter]
                                                    TLM_MGR_BC_ROLE bc_role,
                                                                    ^
Raw output
/home/runner/work/c2a-core/c2a-core/c2a_user/examples/mobc/src/src_core/applications/telemetry_manager.c:453:69: warning: unused parameter 'bc_role' [clang-diagnostic-unused-parameter]
                                                    TLM_MGR_BC_ROLE bc_role,
                                                                    ^