chore(deps): update arkedge/workflows-c2a action to v6 #1667
reviewdog [clang-tidy -Wextra] report
reported by reviewdog 🐶
Findings (14)
/home/runner/work/c2a-core/c2a-core/c2a_user/examples/subobc/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/subobc/build /home/runner/work/c2a-core/c2a-core/c2a_user/examples/subobc/src/src_core/component_driver/cdrv_eb90_frame.c
CC -p=/home/runner/work/c2a-core/c2a-core/c2a_user/examples/subobc/build /home/runner/work/c2a-core/c2a-core/c2a_user/examples/subobc/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/subobc/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/subobc/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/subobc/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/subobc/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/subobc/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/subobc/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/subobc/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/subobc/build /home/runner/work/c2a-core/c2a-core/c2a_user/examples/subobc/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/subobc/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/subobc/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/subobc/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/subobc/build /home/runner/work/c2a-core/c2a-core/c2a_user/examples/subobc/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/subobc/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/subobc/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/subobc/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
github-actions / clang-tidy -Wextra
[clang-tidy -Wextra] /home/runner/work/c2a-core/c2a-core/c2a_user/examples/subobc/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/subobc/build /home/runner/work/c2a-core/c2a-core/c2a_user/examples/subobc/src/src_core/component_driver/cdrv_eb90_frame.c
CC -p=/home/runner/work/c2a-core/c2a-core/c2a_user/examples/subobc/build /home/runner/work/c2a-core/c2a-core/c2a_user/examples/subobc/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/subobc/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/subobc/build /home/runner/work/c2a-core/c2a-core/c2a_user/examples/subobc/src/src_core/component_driver/cdrv_eb90_frame.c
CC -p=/home/runner/work/c2a-core/c2a-core/c2a_user/examples/subobc/build /home/runner/work/c2a-core/c2a-core/c2a_user/examples/subobc/src/src_user/hal/sils/i2c_sils.cpp
error: invalid argument '-std=c90' not allowed with 'C++' [clang-diagnostic-error]
github-actions / clang-tidy -Wextra
[clang-tidy -Wextra] /home/runner/work/c2a-core/c2a-core/c2a_user/examples/subobc/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/subobc/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;
^ ~
github-actions / clang-tidy -Wextra
[clang-tidy -Wextra] /home/runner/work/c2a-core/c2a-core/c2a_user/examples/subobc/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/subobc/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;
^ ~
github-actions / clang-tidy -Wextra
[clang-tidy -Wextra] /home/runner/work/c2a-core/c2a-core/c2a_user/examples/subobc/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/subobc/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;
^ ~
github-actions / clang-tidy -Wextra
[clang-tidy -Wextra] /home/runner/work/c2a-core/c2a-core/c2a_user/examples/subobc/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/subobc/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;
^ ~
github-actions / clang-tidy -Wextra
[clang-tidy -Wextra] /home/runner/work/c2a-core/c2a-core/c2a_user/examples/subobc/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/subobc/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;
^ ~
github-actions / clang-tidy -Wextra
[clang-tidy -Wextra] /home/runner/work/c2a-core/c2a-core/c2a_user/examples/subobc/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/subobc/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;
^ ~
github-actions / clang-tidy -Wextra
[clang-tidy -Wextra] /home/runner/work/c2a-core/c2a-core/c2a_user/examples/subobc/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/subobc/build /home/runner/work/c2a-core/c2a-core/c2a_user/examples/subobc/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/subobc/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/subobc/build /home/runner/work/c2a-core/c2a-core/c2a_user/examples/subobc/src/src_user/hal/sils/uart_sils.cpp
error: invalid argument '-std=c90' not allowed with 'C++' [clang-diagnostic-error]
github-actions / clang-tidy -Wextra
[clang-tidy -Wextra] /home/runner/work/c2a-core/c2a-core/c2a_user/examples/subobc/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/subobc/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)
^
github-actions / clang-tidy -Wextra
[clang-tidy -Wextra] /home/runner/work/c2a-core/c2a-core/c2a_user/examples/subobc/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/subobc/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)
^
github-actions / clang-tidy -Wextra
[clang-tidy -Wextra] /home/runner/work/c2a-core/c2a-core/c2a_user/examples/subobc/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/subobc/build /home/runner/work/c2a-core/c2a-core/c2a_user/examples/subobc/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/subobc/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/subobc/build /home/runner/work/c2a-core/c2a-core/c2a_user/examples/subobc/src/src_user/hal/sils/wdt_sils.cpp
error: invalid argument '-std=c90' not allowed with 'C++' [clang-diagnostic-error]
github-actions / clang-tidy -Wextra
[clang-tidy -Wextra] /home/runner/work/c2a-core/c2a-core/c2a_user/examples/subobc/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/subobc/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)
^
github-actions / clang-tidy -Wextra
[clang-tidy -Wextra] /home/runner/work/c2a-core/c2a-core/c2a_user/examples/subobc/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/subobc/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)
^
github-actions / clang-tidy -Wextra
[clang-tidy -Wextra] /home/runner/work/c2a-core/c2a-core/c2a_user/examples/subobc/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/subobc/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)
^