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
Describe the solution you'd like
Trade the usefulness of testing for an unreachable condition. It's "defensive" but only reachable by changing the implementation, although it can't cause harm.
Describe alternatives you've considered
None
Additional context
None
Requester Info
Jacob Hageman - NASA/GSFC
The text was updated successfully, but these errors were encountered:
With the current implementation, the loop will exit before the Component reaches "END_COMPONENT" making this branch unreachable. Recommend closing tickets (and if needed open a new ticket to change implementation). @dmknutsen@dzbaker
Is your feature request related to a problem? Please describe.
Non-independent conditions checked in CFE_FS_ParseInputFileNameEx:
cFE/modules/fs/fsw/src/cfe_fs_api.c
Line 441 in 5e41330
Since when processing
EXTENSION_COMPONENT
(the case beforeEND_COMPONENT
) the InputPtr is set to NULL:cFE/modules/fs/fsw/src/cfe_fs_api.c
Lines 547 to 558 in 5e41330
Describe the solution you'd like
Trade the usefulness of testing for an unreachable condition. It's "defensive" but only reachable by changing the implementation, although it can't cause harm.
Describe alternatives you've considered
None
Additional context
None
Requester Info
Jacob Hageman - NASA/GSFC
The text was updated successfully, but these errors were encountered: