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 count_check and ret are only used once, so they are unnecessary and can be removed. chan_index and cc don't seem to get updated so can be initialized once instead of in every run through the loop.
Checklist
Describe the bug
count_check
andret
are only used once, so they are unnecessary and can be removed.chan_index
andcc
don't seem to get updated so can be initialized once instead of in every run through the loop.Code snips
CF/fsw/src/cf_cfdp.c
Lines 1480 to 1541 in ba12bc1
Expected behavior
Simplify where possible to improve clarify and ease future maintenance.
Reporter Info
Avi Weiss @thnkslprpt
The text was updated successfully, but these errors were encountered: