You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
cFE files make variable assignments that prove to be useless #2880
Describe the bug
cFE source files make variable assignments that are overwritten regardless later on in the code, particularly during variable declaration and initialization.
To Reproduce
Detected by Static Code Analysis
Expected behavior
Code should adhere to MISRA C++:2008 Rule 0-1-6 - A project shall not contain instances of non-volatile variables being given values that are never subsequently used.
Code snips
If applicable, add references to the software.
System observed on:
Hardware: PC
OS: Linux
Additional context
Add any other context about the problem here.
Activity
Fix nasa#2880, Remove assignments that are never used
Fix nasa#2880, Remove assignments that are never used
Merge pull request #2881 from myc-yang/2880-fix-useless-variable-assi…