Skip to content

lint: fix cppcheck lint errors #401

lint: fix cppcheck lint errors

lint: fix cppcheck lint errors #401

Triggered via pull request July 28, 2024 01:55
Status Failure
Total duration 11m 13s
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/src/cri18n.cpp#L50
Value stored to 'res' is never read
Static linting: crengine/src/crtxtenc.cpp#L1657
The left operand of '==' is a garbage value
Static linting: crengine/include/lvtinydom.h#L3091
Call to virtual method 'ldomDocumentFragmentWriter::setCodeBase' during construction bypasses virtual dispatch
Static linting: crengine/src/docxfmt.cpp#L666
7 uninitialized fields at the end of the constructor call
Static linting: crengine/src/docxfmt.cpp#L742
11 uninitialized fields at the end of the constructor call
Static linting: crengine/src/docxfmt.cpp#L2227
Use of memory after it is freed
Static linting: crengine/src/docxfmt.cpp#L2259
Use of memory after it is freed
Static linting: crengine/src/odxutil.h#L232
Use of memory after it is freed
Static linting: crengine/src/odxutil.h#L333
1 uninitialized field at the end of the constructor call
Static linting: crengine/src/fb3fmt.cpp#L32
1 uninitialized field at the end of the constructor call