Skip to content

Resolve Static Analysis Workflow Errors #1541

@arielswalker

Description

@arielswalker

Describe the bug
The static analysis workflow finds two cppcheck errors.

One is uninitvar, Uninitialized variable: LocalVar, for

VarAddress = (cpuaddr)&LocalVar;

The second is unknownMacro, There is an unknown macro here somewhere. Configuration is required. If UT_DEFAULT_STUB is a macro then please configure it, for

UT_DEFAULT_STUB(OS_API_Impl_Init, (osal_objtype_t idtype))

To Reproduce
Run the static analysis workflow

Expected behavior
The workflow should run successfully with no cppcheck errors

System observed on:
GitHub Actions

Reporter Info
Ariel Walker, MCSG TECH.

Metadata

Metadata

Assignees

Type

No fields configured for Bug.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions