-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Multiple return statements in LC_CreateTaskCDS and LC_TableInit #36
Labels
Comments
As part of LC_TableInit, consider reducing duplicated logic and EID use for getting the WDTPtr and ADTPtr: Lines 429 to 450 in bb91036
Lines 890 to 896 in bb91036
Lines 925 to 931 in bb91036
|
thnkslprpt
added a commit
to thnkslprpt/LC
that referenced
this issue
Jan 30, 2023
Submitted a PR just focusing on |
thnkslprpt
added a commit
to thnkslprpt/LC
that referenced
this issue
Jan 30, 2023
2 tasks
thnkslprpt
added a commit
to thnkslprpt/LC
that referenced
this issue
Mar 14, 2023
dzbaker
added a commit
that referenced
this issue
Apr 27, 2023
Fix #36, Refactor LC_TableInit to remove multiple returns
2 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Checklist (Please check before submitting)
Is your feature request related to a problem? Please describe.
Multiple returns are a coding style violation, and the implementation is challenging to follow (see #12 and others).
LC/fsw/src/lc_app.c
Lines 332 to 493 in bb91036
LC/fsw/src/lc_app.c
Lines 735 to 855 in bb91036
Describe the solution you'd like
Single entry/exit point from functions. Refactor to simplify flow.
Describe alternatives you've considered
None
Additional context
Could group w/ multiple issues or tackle by file.
Requester Info
Jacob Hageman - NASA/GSFC
The text was updated successfully, but these errors were encountered: