Skip to content

Update arkedge/workflows-c2a action to v6 #1506

Update arkedge/workflows-c2a action to v6

Update arkedge/workflows-c2a action to v6 #1506

GitHub Actions / clang-tidy -Wextra completed Nov 14, 2024 in 1s

reviewdog [clang-tidy -Wextra] report

reported by reviewdog 🐶

Findings (23)

/home/runner/work/c2a-core/c2a-core/c2a_user/examples/mobc/src/src_user/c2a_main.c|31 col 13| unused function 'address_fixed_main_' [clang-diagnostic-unused-function]
static void address_fixed_main_(void)
^
CC -p=/home/runner/work/c2a-core/c2a-core/c2a_user/examples/mobc/build /home/runner/work/c2a-core/c2a-core/c2a_user/examples/mobc/src/src_core/component_driver/cdrv_eb90_frame.c
CC -p=/home/runner/work/c2a-core/c2a-core/c2a_user/examples/mobc/build /home/runner/work/c2a-core/c2a-core/c2a_user/examples/mobc/src/src_core/applications/divided_cmd_utility.c
/home/runner/work/c2a-core/c2a-core/c2a_user/examples/mobc/src/src_core/applications/divided_cmd_utility.c|283 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:283:3: note: Value stored to 'exec_log' is never read
CC -p=/home/runner/work/c2a-core/c2a-core/c2a_user/examples/mobc/build /home/runner/work/c2a-core/c2a-core/c2a_user/examples/mobc/src/src_core/applications/telemetry_manager.c
/home/runner/work/c2a-core/c2a-core/c2a_user/examples/mobc/src/src_core/applications/telemetry_manager.c|451 col 69| unused parameter 'bc_role' [clang-diagnostic-unused-parameter]
TLM_MGR_BC_ROLE bc_role,
^
CC -p=/home/runner/work/c2a-core/c2a-core/c2a_user/examples/mobc/build /home/runner/work/c2a-core/c2a-core/c2a_user/examples/mobc/src/src_user/hal/sils/ccsds_sils.cpp
error: invalid argument '-std=c90' not allowed with 'C++' [clang-diagnostic-error]
/home/runner/work/c2a-core/c2a-core/c2a_user/examples/mobc/src/src_user/hal/sils/ccsds_sils.cpp|34 col 50| unused parameter 'buffer_size' [clang-diagnostic-unused-parameter]
int CCSDS_rx(void* my_ccsds_v, void* data_v, int buffer_size)
^
/home/runner/work/c2a-core/c2a-core/c2a_user/examples/mobc/src/src_user/hal/sils/ccsds_sils.cpp|36 col 18| unused variable 'data' [clang-diagnostic-unused-variable]
unsigned char* data = (unsigned char*)data_v;
^
/home/runner/work/c2a-core/c2a-core/c2a_user/examples/mobc/src/src_user/hal/sils/ccsds_sils.cpp|37 col 3| expression result unused [clang-diagnostic-unused-value]
(CCSDS_Config*)my_ccsds_v;
^
/home/runner/work/c2a-core/c2a-core/c2a_user/examples/mobc/src/src_user/hal/sils/ccsds_sils.cpp|48 col 18| unused variable 'data' [clang-diagnostic-unused-variable]
unsigned char* data = (unsigned char*)data_v;
^
/home/runner/work/c2a-core/c2a-core/c2a_user/examples/mobc/src/src_user/hal/sils/ccsds_sils.cpp|50 col 3| expression result unused [clang-diagnostic-unused-value]
(CCSDS_Config*)my_ccsds_v;
^
/home/runner/work/c2a-core/c2a-core/c2a_user/examples/mobc/src/src_user/hal/sils/ccsds_sils.cpp|63 col 24| unused parameter 'my_ccsds_v' [clang-diagnostic-unused-parameter]
int CCSDS_reopen(void* my_ccsds_v, int reason)
^
/home/runner/work/c2a-core/c2a-core/c2a_user/examples/mobc/src/src_user/hal/sils/ccsds_sils.cpp|63 col 40| unused parameter 'reason' [clang-diagnostic-unused-parameter]
int CCSDS_reopen(void* my_ccsds_v, int reason)
^
CC -p=/home/runner/work/c2a-core/c2a-core/c2a_user/examples/mobc/build /home/runner/work/c2a-core/c2a-core/c2a_user/examples/mobc/src/src_user/hal/sils/i2c_sils.cpp
error: invalid argument '-std=c90' not allowed with 'C++' [clang-diagnostic-error]
/home/runner/work/c2a-core/c2a-core/c2a_user/examples/mobc/src/src_user/hal/sils/i2c_sils.cpp|12 col 3| expression result unused; should this cast be to 'void'? [clang-diagnostic-unused-value]
(void*)my_i2c_v;
^ ~
/home/runner/work/c2a-core/c2a-core/c2a_user/examples/mobc/src/src_user/hal/sils/i2c_sils.cpp|13 col 3| expression result unused; should this cast be to 'void'? [clang-diagnostic-unused-value]
(void*)data_v;
^ ~
/home/runner/work/c2a-core/c2a-core/c2a_user/examples/mobc/src/src_user/hal/sils/i2c_sils.cpp|20 col 3| expression result unused; should this cast be to 'void'? [clang-diagnostic-unused-value]
(void*)my_i2c_v;
^ ~
/home/runner/work/c2a-core/c2a-core/c2a_user/examples/mobc/src/src_user/hal/sils/i2c_sils.cpp|21 col 3| expression result unused; should this cast be to 'void'? [clang-diagnostic-unused-value]
(void*)data_v;
^ ~
/home/runner/work/c2a-core/c2a-core/c2a_user/examples/mobc/src/src_user/hal/sils/i2c_sils.cpp|28 col 3| expression result unused; should this cast be to 'void'? [clang-diagnostic-unused-value]
(void*)my_i2c_v;
^ ~
/home/runner/work/c2a-core/c2a-core/c2a_user/examples/mobc/src/src_user/hal/sils/i2c_sils.cpp|35 col 3| expression result unused; should this cast be to 'void'? [clang-diagnostic-unused-value]
(void*)my_i2c_v;
^ ~
/home/runner/work/c2a-core/c2a-core/c2a_user/examples/mobc/src/src_user/hal/sils/i2c_sils.cpp|42 col 3| expression result unused; should this cast be to 'void'? [clang-diagnostic-unused-value]
(void*)my_i2c_v;
^ ~
CC -p=/home/runner/work/c2a-core/c2a-core/c2a_user/examples/mobc/build /home/runner/work/c2a-core/c2a-core/c2a_user/examples/mobc/src/src_user/hal/sils/uart_sils.cpp
error: invalid argument '-std=c90' not allowed with 'C++' [clang-diagnostic-error]
/home/runner/work/c2a-core/c2a-core/c2a_user/examples/mobc/src/src_user/hal/sils/uart_sils.cpp|12 col 21| unused parameter 'my_uart_v' [clang-diagnostic-unused-parameter]
int UART_init(void* my_uart_v)
^
/home/runner/work/c2a-core/c2a-core/c2a_user/examples/mobc/src/src_user/hal/sils/uart_sils.cpp|60 col 23| unused parameter 'my_uart_v' [clang-diagnostic-unused-parameter]
int UART_reopen(void* my_uart_v, int reason)
^
/home/runner/work/c2a-core/c2a-core/c2a_user/examples/mobc/src/src_user/hal/sils/uart_sils.cpp|60 col 38| unused parameter 'reason' [clang-diagnostic-unused-parameter]
int UART_reopen(void* my_uart_v, int reason)
^
CC -p=/home/runner/work/c2a-core/c2a-core/c2a_user/examples/mobc/build /home/runner/work/c2a-core/c2a-core/c2a_user/examples/mobc/src/src_user/hal/sils/wdt_sils.cpp
error: invalid argument '-std=c90' not allowed with 'C++' [clang-diagnostic-error]
/home/runner/work/c2a-core/c2a-core/c2a_user/examples/mobc/src/src_user/hal/sils/wdt_sils.cpp|13 col 21| unused parameter 'wdt_config' [clang-diagnostic-unused-parameter]
int WDT_clear(void* wdt_config)
^
/home/runner/work/c2a-core/c2a-core/c2a_user/examples/mobc/src/src_user/hal/sils/wdt_sils.cpp|18 col 22| unused parameter 'wdt_config' [clang-diagnostic-unused-parameter]
int WDT_enable(void* wdt_config)
^
/home/runner/work/c2a-core/c2a-core/c2a_user/examples/mobc/src/src_user/hal/sils/wdt_sils.cpp|23 col 23| unused parameter 'wdt_config' [clang-diagnostic-unused-parameter]
int WDT_disable(void* wdt_config)
^

Filtered Findings (0)

Annotations

Check warning on line 31 in /home/runner/work/c2a-core/c2a-core/c2a_user/examples/mobc/src/src_user/c2a_main.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_user/c2a_main.c#L31

unused function 'address_fixed_main_' [clang-diagnostic-unused-function]
static void address_fixed_main_(void)
            ^
CC -p=/home/runner/work/c2a-core/c2a-core/c2a_user/examples/mobc/build /home/runner/work/c2a-core/c2a-core/c2a_user/examples/mobc/src/src_core/component_driver/cdrv_eb90_frame.c
CC -p=/home/runner/work/c2a-core/c2a-core/c2a_user/examples/mobc/build /home/runner/work/c2a-core/c2a-core/c2a_user/examples/mobc/src/src_core/applications/divided_cmd_utility.c
Raw output
/home/runner/work/c2a-core/c2a-core/c2a_user/examples/mobc/src/src_user/c2a_main.c:31:13: warning: unused function 'address_fixed_main_' [clang-diagnostic-unused-function]
static void address_fixed_main_(void)
            ^
CC -p=/home/runner/work/c2a-core/c2a-core/c2a_user/examples/mobc/build /home/runner/work/c2a-core/c2a-core/c2a_user/examples/mobc/src/src_core/component_driver/cdrv_eb90_frame.c
CC -p=/home/runner/work/c2a-core/c2a-core/c2a_user/examples/mobc/build /home/runner/work/c2a-core/c2a-core/c2a_user/examples/mobc/src/src_core/applications/divided_cmd_utility.c

Check warning on line 283 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#L283

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:283:3: note: Value stored to 'exec_log' is never read
CC -p=/home/runner/work/c2a-core/c2a-core/c2a_user/examples/mobc/build /home/runner/work/c2a-core/c2a-core/c2a_user/examples/mobc/src/src_core/applications/telemetry_manager.c
Raw output
/home/runner/work/c2a-core/c2a-core/c2a_user/examples/mobc/src/src_core/applications/divided_cmd_utility.c:283: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:283:3: note: Value stored to 'exec_log' is never read
CC -p=/home/runner/work/c2a-core/c2a-core/c2a_user/examples/mobc/build /home/runner/work/c2a-core/c2a-core/c2a_user/examples/mobc/src/src_core/applications/telemetry_manager.c

Check warning on line 451 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#L451

unused parameter 'bc_role' [clang-diagnostic-unused-parameter]
                                                    TLM_MGR_BC_ROLE bc_role,
                                                                    ^
CC -p=/home/runner/work/c2a-core/c2a-core/c2a_user/examples/mobc/build /home/runner/work/c2a-core/c2a-core/c2a_user/examples/mobc/src/src_user/hal/sils/ccsds_sils.cpp
error: invalid argument '-std=c90' not allowed with 'C++' [clang-diagnostic-error]
Raw output
/home/runner/work/c2a-core/c2a-core/c2a_user/examples/mobc/src/src_core/applications/telemetry_manager.c:451:69: warning: unused parameter 'bc_role' [clang-diagnostic-unused-parameter]
                                                    TLM_MGR_BC_ROLE bc_role,
                                                                    ^
CC -p=/home/runner/work/c2a-core/c2a-core/c2a_user/examples/mobc/build /home/runner/work/c2a-core/c2a-core/c2a_user/examples/mobc/src/src_user/hal/sils/ccsds_sils.cpp
error: invalid argument '-std=c90' not allowed with 'C++' [clang-diagnostic-error]

Check warning on line 34 in /home/runner/work/c2a-core/c2a-core/c2a_user/examples/mobc/src/src_user/hal/sils/ccsds_sils.cpp

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_user/hal/sils/ccsds_sils.cpp#L34

unused parameter 'buffer_size' [clang-diagnostic-unused-parameter]
int CCSDS_rx(void* my_ccsds_v, void* data_v, int buffer_size)
                                                 ^
Raw output
/home/runner/work/c2a-core/c2a-core/c2a_user/examples/mobc/src/src_user/hal/sils/ccsds_sils.cpp:34:50: warning: unused parameter 'buffer_size' [clang-diagnostic-unused-parameter]
int CCSDS_rx(void* my_ccsds_v, void* data_v, int buffer_size)
                                                 ^

Check warning on line 36 in /home/runner/work/c2a-core/c2a-core/c2a_user/examples/mobc/src/src_user/hal/sils/ccsds_sils.cpp

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_user/hal/sils/ccsds_sils.cpp#L36

unused variable 'data' [clang-diagnostic-unused-variable]
  unsigned char* data = (unsigned char*)data_v;
                 ^
Raw output
/home/runner/work/c2a-core/c2a-core/c2a_user/examples/mobc/src/src_user/hal/sils/ccsds_sils.cpp:36:18: warning: unused variable 'data' [clang-diagnostic-unused-variable]
  unsigned char* data = (unsigned char*)data_v;
                 ^

Check warning on line 37 in /home/runner/work/c2a-core/c2a-core/c2a_user/examples/mobc/src/src_user/hal/sils/ccsds_sils.cpp

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_user/hal/sils/ccsds_sils.cpp#L37

expression result unused [clang-diagnostic-unused-value]
  (CCSDS_Config*)my_ccsds_v;
  ^
Raw output
/home/runner/work/c2a-core/c2a-core/c2a_user/examples/mobc/src/src_user/hal/sils/ccsds_sils.cpp:37:3: warning: expression result unused [clang-diagnostic-unused-value]
  (CCSDS_Config*)my_ccsds_v;
  ^

Check warning on line 48 in /home/runner/work/c2a-core/c2a-core/c2a_user/examples/mobc/src/src_user/hal/sils/ccsds_sils.cpp

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_user/hal/sils/ccsds_sils.cpp#L48

unused variable 'data' [clang-diagnostic-unused-variable]
  unsigned char* data = (unsigned char*)data_v;
                 ^
Raw output
/home/runner/work/c2a-core/c2a-core/c2a_user/examples/mobc/src/src_user/hal/sils/ccsds_sils.cpp:48:18: warning: unused variable 'data' [clang-diagnostic-unused-variable]
  unsigned char* data = (unsigned char*)data_v;
                 ^

Check warning on line 50 in /home/runner/work/c2a-core/c2a-core/c2a_user/examples/mobc/src/src_user/hal/sils/ccsds_sils.cpp

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_user/hal/sils/ccsds_sils.cpp#L50

expression result unused [clang-diagnostic-unused-value]
  (CCSDS_Config*)my_ccsds_v;
  ^
Raw output
/home/runner/work/c2a-core/c2a-core/c2a_user/examples/mobc/src/src_user/hal/sils/ccsds_sils.cpp:50:3: warning: expression result unused [clang-diagnostic-unused-value]
  (CCSDS_Config*)my_ccsds_v;
  ^

Check warning on line 63 in /home/runner/work/c2a-core/c2a-core/c2a_user/examples/mobc/src/src_user/hal/sils/ccsds_sils.cpp

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_user/hal/sils/ccsds_sils.cpp#L63

unused parameter 'my_ccsds_v' [clang-diagnostic-unused-parameter]
int CCSDS_reopen(void* my_ccsds_v, int reason)
                       ^
Raw output
/home/runner/work/c2a-core/c2a-core/c2a_user/examples/mobc/src/src_user/hal/sils/ccsds_sils.cpp:63:24: warning: unused parameter 'my_ccsds_v' [clang-diagnostic-unused-parameter]
int CCSDS_reopen(void* my_ccsds_v, int reason)
                       ^

Check warning on line 63 in /home/runner/work/c2a-core/c2a-core/c2a_user/examples/mobc/src/src_user/hal/sils/ccsds_sils.cpp

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_user/hal/sils/ccsds_sils.cpp#L63

unused parameter 'reason' [clang-diagnostic-unused-parameter]
int CCSDS_reopen(void* my_ccsds_v, int reason)
                                       ^
CC -p=/home/runner/work/c2a-core/c2a-core/c2a_user/examples/mobc/build /home/runner/work/c2a-core/c2a-core/c2a_user/examples/mobc/src/src_user/hal/sils/i2c_sils.cpp
error: invalid argument '-std=c90' not allowed with 'C++' [clang-diagnostic-error]
Raw output
/home/runner/work/c2a-core/c2a-core/c2a_user/examples/mobc/src/src_user/hal/sils/ccsds_sils.cpp:63:40: warning: unused parameter 'reason' [clang-diagnostic-unused-parameter]
int CCSDS_reopen(void* my_ccsds_v, int reason)
                                       ^
CC -p=/home/runner/work/c2a-core/c2a-core/c2a_user/examples/mobc/build /home/runner/work/c2a-core/c2a-core/c2a_user/examples/mobc/src/src_user/hal/sils/i2c_sils.cpp
error: invalid argument '-std=c90' not allowed with 'C++' [clang-diagnostic-error]

Check warning on line 12 in /home/runner/work/c2a-core/c2a-core/c2a_user/examples/mobc/src/src_user/hal/sils/i2c_sils.cpp

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_user/hal/sils/i2c_sils.cpp#L12

expression result unused; should this cast be to 'void'? [clang-diagnostic-unused-value]
  (void*)my_i2c_v;
  ^    ~
Raw output
/home/runner/work/c2a-core/c2a-core/c2a_user/examples/mobc/src/src_user/hal/sils/i2c_sils.cpp:12:3: warning: expression result unused; should this cast be to 'void'? [clang-diagnostic-unused-value]
  (void*)my_i2c_v;
  ^    ~

Check warning on line 13 in /home/runner/work/c2a-core/c2a-core/c2a_user/examples/mobc/src/src_user/hal/sils/i2c_sils.cpp

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_user/hal/sils/i2c_sils.cpp#L13

expression result unused; should this cast be to 'void'? [clang-diagnostic-unused-value]
  (void*)data_v;
  ^    ~
Raw output
/home/runner/work/c2a-core/c2a-core/c2a_user/examples/mobc/src/src_user/hal/sils/i2c_sils.cpp:13:3: warning: expression result unused; should this cast be to 'void'? [clang-diagnostic-unused-value]
  (void*)data_v;
  ^    ~

Check warning on line 20 in /home/runner/work/c2a-core/c2a-core/c2a_user/examples/mobc/src/src_user/hal/sils/i2c_sils.cpp

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_user/hal/sils/i2c_sils.cpp#L20

expression result unused; should this cast be to 'void'? [clang-diagnostic-unused-value]
  (void*)my_i2c_v;
  ^    ~
Raw output
/home/runner/work/c2a-core/c2a-core/c2a_user/examples/mobc/src/src_user/hal/sils/i2c_sils.cpp:20:3: warning: expression result unused; should this cast be to 'void'? [clang-diagnostic-unused-value]
  (void*)my_i2c_v;
  ^    ~

Check warning on line 21 in /home/runner/work/c2a-core/c2a-core/c2a_user/examples/mobc/src/src_user/hal/sils/i2c_sils.cpp

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_user/hal/sils/i2c_sils.cpp#L21

expression result unused; should this cast be to 'void'? [clang-diagnostic-unused-value]
  (void*)data_v;
  ^    ~
Raw output
/home/runner/work/c2a-core/c2a-core/c2a_user/examples/mobc/src/src_user/hal/sils/i2c_sils.cpp:21:3: warning: expression result unused; should this cast be to 'void'? [clang-diagnostic-unused-value]
  (void*)data_v;
  ^    ~

Check warning on line 28 in /home/runner/work/c2a-core/c2a-core/c2a_user/examples/mobc/src/src_user/hal/sils/i2c_sils.cpp

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_user/hal/sils/i2c_sils.cpp#L28

expression result unused; should this cast be to 'void'? [clang-diagnostic-unused-value]
  (void*)my_i2c_v;
  ^    ~
Raw output
/home/runner/work/c2a-core/c2a-core/c2a_user/examples/mobc/src/src_user/hal/sils/i2c_sils.cpp:28:3: warning: expression result unused; should this cast be to 'void'? [clang-diagnostic-unused-value]
  (void*)my_i2c_v;
  ^    ~

Check warning on line 35 in /home/runner/work/c2a-core/c2a-core/c2a_user/examples/mobc/src/src_user/hal/sils/i2c_sils.cpp

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_user/hal/sils/i2c_sils.cpp#L35

expression result unused; should this cast be to 'void'? [clang-diagnostic-unused-value]
  (void*)my_i2c_v;
  ^    ~
Raw output
/home/runner/work/c2a-core/c2a-core/c2a_user/examples/mobc/src/src_user/hal/sils/i2c_sils.cpp:35:3: warning: expression result unused; should this cast be to 'void'? [clang-diagnostic-unused-value]
  (void*)my_i2c_v;
  ^    ~

Check warning on line 42 in /home/runner/work/c2a-core/c2a-core/c2a_user/examples/mobc/src/src_user/hal/sils/i2c_sils.cpp

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_user/hal/sils/i2c_sils.cpp#L42

expression result unused; should this cast be to 'void'? [clang-diagnostic-unused-value]
  (void*)my_i2c_v;
  ^    ~
CC -p=/home/runner/work/c2a-core/c2a-core/c2a_user/examples/mobc/build /home/runner/work/c2a-core/c2a-core/c2a_user/examples/mobc/src/src_user/hal/sils/uart_sils.cpp
error: invalid argument '-std=c90' not allowed with 'C++' [clang-diagnostic-error]
Raw output
/home/runner/work/c2a-core/c2a-core/c2a_user/examples/mobc/src/src_user/hal/sils/i2c_sils.cpp:42:3: warning: expression result unused; should this cast be to 'void'? [clang-diagnostic-unused-value]
  (void*)my_i2c_v;
  ^    ~
CC -p=/home/runner/work/c2a-core/c2a-core/c2a_user/examples/mobc/build /home/runner/work/c2a-core/c2a-core/c2a_user/examples/mobc/src/src_user/hal/sils/uart_sils.cpp
error: invalid argument '-std=c90' not allowed with 'C++' [clang-diagnostic-error]

Check warning on line 12 in /home/runner/work/c2a-core/c2a-core/c2a_user/examples/mobc/src/src_user/hal/sils/uart_sils.cpp

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_user/hal/sils/uart_sils.cpp#L12

unused parameter 'my_uart_v' [clang-diagnostic-unused-parameter]
int UART_init(void* my_uart_v)
                    ^
Raw output
/home/runner/work/c2a-core/c2a-core/c2a_user/examples/mobc/src/src_user/hal/sils/uart_sils.cpp:12:21: warning: unused parameter 'my_uart_v' [clang-diagnostic-unused-parameter]
int UART_init(void* my_uart_v)
                    ^

Check warning on line 60 in /home/runner/work/c2a-core/c2a-core/c2a_user/examples/mobc/src/src_user/hal/sils/uart_sils.cpp

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_user/hal/sils/uart_sils.cpp#L60

unused parameter 'my_uart_v' [clang-diagnostic-unused-parameter]
int UART_reopen(void* my_uart_v, int reason)
                      ^
Raw output
/home/runner/work/c2a-core/c2a-core/c2a_user/examples/mobc/src/src_user/hal/sils/uart_sils.cpp:60:23: warning: unused parameter 'my_uart_v' [clang-diagnostic-unused-parameter]
int UART_reopen(void* my_uart_v, int reason)
                      ^

Check warning on line 60 in /home/runner/work/c2a-core/c2a-core/c2a_user/examples/mobc/src/src_user/hal/sils/uart_sils.cpp

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_user/hal/sils/uart_sils.cpp#L60

unused parameter 'reason' [clang-diagnostic-unused-parameter]
int UART_reopen(void* my_uart_v, int reason)
                                     ^
CC -p=/home/runner/work/c2a-core/c2a-core/c2a_user/examples/mobc/build /home/runner/work/c2a-core/c2a-core/c2a_user/examples/mobc/src/src_user/hal/sils/wdt_sils.cpp
error: invalid argument '-std=c90' not allowed with 'C++' [clang-diagnostic-error]
Raw output
/home/runner/work/c2a-core/c2a-core/c2a_user/examples/mobc/src/src_user/hal/sils/uart_sils.cpp:60:38: warning: unused parameter 'reason' [clang-diagnostic-unused-parameter]
int UART_reopen(void* my_uart_v, int reason)
                                     ^
CC -p=/home/runner/work/c2a-core/c2a-core/c2a_user/examples/mobc/build /home/runner/work/c2a-core/c2a-core/c2a_user/examples/mobc/src/src_user/hal/sils/wdt_sils.cpp
error: invalid argument '-std=c90' not allowed with 'C++' [clang-diagnostic-error]

Check warning on line 13 in /home/runner/work/c2a-core/c2a-core/c2a_user/examples/mobc/src/src_user/hal/sils/wdt_sils.cpp

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_user/hal/sils/wdt_sils.cpp#L13

unused parameter 'wdt_config' [clang-diagnostic-unused-parameter]
int WDT_clear(void* wdt_config)
                    ^
Raw output
/home/runner/work/c2a-core/c2a-core/c2a_user/examples/mobc/src/src_user/hal/sils/wdt_sils.cpp:13:21: warning: unused parameter 'wdt_config' [clang-diagnostic-unused-parameter]
int WDT_clear(void* wdt_config)
                    ^

Check warning on line 18 in /home/runner/work/c2a-core/c2a-core/c2a_user/examples/mobc/src/src_user/hal/sils/wdt_sils.cpp

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_user/hal/sils/wdt_sils.cpp#L18

unused parameter 'wdt_config' [clang-diagnostic-unused-parameter]
int WDT_enable(void* wdt_config)
                     ^
Raw output
/home/runner/work/c2a-core/c2a-core/c2a_user/examples/mobc/src/src_user/hal/sils/wdt_sils.cpp:18:22: warning: unused parameter 'wdt_config' [clang-diagnostic-unused-parameter]
int WDT_enable(void* wdt_config)
                     ^

Check warning on line 23 in /home/runner/work/c2a-core/c2a-core/c2a_user/examples/mobc/src/src_user/hal/sils/wdt_sils.cpp

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_user/hal/sils/wdt_sils.cpp#L23

unused parameter 'wdt_config' [clang-diagnostic-unused-parameter]
int WDT_disable(void* wdt_config)
                      ^
Raw output
/home/runner/work/c2a-core/c2a-core/c2a_user/examples/mobc/src/src_user/hal/sils/wdt_sils.cpp:23:23: warning: unused parameter 'wdt_config' [clang-diagnostic-unused-parameter]
int WDT_disable(void* wdt_config)
                      ^