Skip to content

Return code not passed back in OS_ConsoleAPI_Init - static analysis warning #790

@skliper

Description

@skliper

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions