Skip to content

Cppcheck errors reported using latest workflow update #2196

@jphickey

Description

@jphickey

Describe the bug
The latest version of Ubuntu (with cppcheck v2.7) is reporting the following errors in the cFE repo:

severity file line issue
error /home/runner/work/cFS/cFS/source/cfe/modules/tbl/ut-coverage/tbl_UT.c 2411 Uninitialized variable: File.TblHeader
error /home/runner/work/cFS/cFS/source/cfe/modules/tbl/ut-coverage/tbl_UT.c 3067 Uninitialized variable: File.TblHeader

To Reproduce
Run latest version of static analysis workflow (depends on nasa/cFS#607)

Expected behavior
Should run cleanly

System observed on:
Ubuntu 22.04, with cppcheck v2.7

Additional context
Summary from workflow run

Reporter Info
Joseph Hickey, Vantage Systems, Inc.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions