Skip to content

ci: improve linting #394

ci: improve linting

ci: improve linting #394

Triggered via pull request July 27, 2024 22:20
Status Failure
Total duration 9m 4s
Artifacts

build.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

1 error and 10 warnings
Static linting
Process completed with exit code 2.
Static linting: crengine/include/lvrefcache.h#L542
Syntax Error: AST broken, 'if' doesn't have two operands.
Static linting: crengine/include/lvqueue.h#L61
AST broken, ternary operator missing operand(s)
Static linting: crengine/include/lvref.h#L394
Reference to temporary returned.
Static linting: crengine/include/lvref.h#L395
Reference to temporary returned.
Static linting: crengine/include/lvref.h#L596
Rethrowing current exception with 'throw;', it seems there is no current exception to rethrow. If there is no current exception this calls std::terminate(). More: https://isocpp.org/wiki/faq/exceptions#throw-without-an-object
Static linting: crengine/include/lvref.h#L618
Rethrowing current exception with 'throw;', it seems there is no current exception to rethrow. If there is no current exception this calls std::terminate(). More: https://isocpp.org/wiki/faq/exceptions#throw-without-an-object
Static linting: crengine/src/crtxtenc.cpp#L2078
Memory leak: buf
Static linting: crengine/src/crtxtenc.cpp#L1700
Memory is allocated but not initialized: pdata
Static linting: crengine/src/cri18n.cpp#L50
Value stored to 'res' is never read
Static linting: crengine/include/lvrefcache.h#L542
Syntax Error: AST broken, 'if' doesn't have two operands.