Skip to content

Add code quality checks #10

Add code quality checks

Add code quality checks #10

Triggered via pull request February 29, 2024 09:18
Status Success
Total duration 44s
Artifacts

cppcheck.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
cppcheck: src/apdu_pubkey.c#L31
Redundant code: Found a statement that begins with string constant.
cppcheck: src/apdu_pubkey.c#L32
Redundant code: Found a statement that begins with string constant.
cppcheck: src/apdu_pubkey.c#L29
The function 'get_baking_prompts' is never used.
cppcheck: src/baking_auth.c#L185
'fitness' is of type 'const void * const'. When using void pointers in calculations, the behaviour is undefined. Arithmetic operations on 'void *' is a GNU C extension, which defines the 'sizeof(void)' to be 1.
cppcheck: src/baking_auth.c#L185
'data' is of type 'const void * const'. When using void pointers in calculations, the behaviour is undefined. Arithmetic operations on 'void *' is a GNU C extension, which defines the 'sizeof(void)' to be 1.
cppcheck: src/baking_auth.c#L189
'fitness' is of type 'const void * const'. When using void pointers in calculations, the behaviour is undefined. Arithmetic operations on 'void *' is a GNU C extension, which defines the 'sizeof(void)' to be 1.
cppcheck: src/baking_auth.c#L189
'fitness+fitness_size' is of type 'const void * const'. When using void pointers in calculations, the behaviour is undefined. Arithmetic operations on 'void *' is a GNU C extension, which defines the 'sizeof(void)' to be 1.
cppcheck: src/to_string.c#L121
The function 'buffer_to_base58' is never used.
cppcheck: src/to_string.c#L181
The function 'protocol_hash_to_string' is never used.
cppcheck: src/to_string.c#L217
struct member 'Anonymous6::prefix' is never used.