Checklist (Please check before submitting)
Describe the bug
An internal static code analysis tool flagged several dead functions.
To Reproduce
Run the internal static code analysis tool.
Expected behavior
Remove these functions or document the reason to keep the code as is.
Code snips
|
CFE_Status_t CS_CMDS_TEST_CFE_ES_CreateChildTaskHook(uint32 *TaskIdPtr, |
|
CFE_Status_t CS_COMPUTE_TEST_CFE_TBL_GetInfoHook1(void *UserObj, |
|
void CS_TABLE_PROCESSING_TEST_CFE_ES_GetAppNameHandler1(void *UserObj, |
|
CFE_Status_t CS_TABLE_PROCESSING_TEST_CFE_TBL_GetAddressHook(void *UserObj, |
|
CFE_Status_t CS_TABLE_PROCESSING_TEST_CFE_TBL_LoadHook(void *UserObj, |
System observed on:
Internal static code analysis tool, RedHat, cFS dev
Reporter Info
Ariel Walker, MCSG TECH.
Checklist (Please check before submitting)
Describe the bug
An internal static code analysis tool flagged several dead functions.
To Reproduce
Run the internal static code analysis tool.
Expected behavior
Remove these functions or document the reason to keep the code as is.
Code snips
CS/unit-test/cs_cmds_tests.c
Line 45 in 32bce67
CS/unit-test/cs_compute_tests.c
Line 55 in 32bce67
CS/unit-test/cs_table_processing_tests.c
Line 46 in 32bce67
CS/unit-test/cs_table_processing_tests.c
Line 55 in 32bce67
CS/unit-test/cs_table_processing_tests.c
Line 63 in 32bce67
System observed on:
Internal static code analysis tool, RedHat, cFS dev
Reporter Info
Ariel Walker, MCSG TECH.