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.
Describe the bug
The static analysis workflow finds two cppcheck errors.
One is uninitvar, Uninitialized variable: LocalVar, for
osal/src/tests/osal-core-test/osal-core-test.c
Line 143 in be51718
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
osal/src/unit-test-coverage/vxworks/ut-stubs/src/vxworks-os-impl-common-stubs.c
Line 32 in be51718
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.