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
I performed a cursory search to see if the bug report is relevant, not redundant, nor in conflict with other tickets.
Describe the bug
FM has a many extraneous assignments at the top of functions that are immediately (or definitely before first use) reassigned a value - many to CFE_SUCCESS as in nasa/HS#10, but also other to 0, OS_SUCCESS etc.
Checklist
Describe the bug
FM has a many extraneous assignments at the top of functions that are immediately (or definitely before first use) reassigned a value - many to
CFE_SUCCESS
as in nasa/HS#10, but also other to0
,OS_SUCCESS
etc.Code snips
FM/fsw/src/fm_child.c
Lines 61 to 65 in 5c9d4e8
FM/fsw/src/fm_child.c
Lines 1270 to 1273 in 5c9d4e8
FM/fsw/src/fm_cmd_utils.c
Lines 535 to 537 in 5c9d4e8
FM/fsw/src/fm_cmds.c
Lines 75 to 78 in 5c9d4e8
Expected behavior
Remove/combine assignments - unnecessary code.
Reporter Info
Avi Weiss @thnkslprpt
The text was updated successfully, but these errors were encountered: