-
Notifications
You must be signed in to change notification settings - Fork 219
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
Return code not passed back in OS_ConsoleAPI_Init - static analysis warning #790
Comments
Note the return code is checked and reported, just would have never reported the error: osal/src/os/shared/src/osapi-common.c Lines 175 to 183 in 09a2c5e
|
skliper
added a commit
to skliper/osal
that referenced
this issue
Feb 10, 2021
This was referenced Feb 10, 2021
astrogeco
added a commit
that referenced
this issue
Feb 12, 2021
Fix #790, Return status from OS_ConsoleAPI_Init
jphickey
added a commit
to jphickey/osal
that referenced
this issue
Aug 10, 2022
Checks a name-based subdirectory under ${MISSION_DEFS} for files listed in the FILELIST for that target. If file is a symlink, the link should be followed so the correct content is installed, not a symlink.
jphickey
pushed a commit
to jphickey/osal
that referenced
this issue
Aug 10, 2022
Fix nasa#790, allow directories and symlinks in FILELIST.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is your feature request related to a problem? Please describe.
OS_ConsoleAPI_Init always returns success, but could error. Inconsistently implemented (if return_code is being recorded, return it... if it isn't needed why set it?)
Describe the solution you'd like
Either don't have a return value, or return the actual status. In test/coverage the expected return value should be confirmed.
Describe alternatives you've considered
None
Additional context
Static analysis warning since return_code is unused
Requester Info
Jacob Hageman - NASA/GSFC
The text was updated successfully, but these errors were encountered: