Skip to content

Several switch statements in cFE are missing a default and/or break #2478

@thnkslprpt

Description

@thnkslprpt

Checklist

  • I reviewed the Contributing Guide.
  • I performed a cursory search to see if the bug report is relevant, not redundant, nor in conflict with other tickets.

Describe the bug
Several switch statements in cFE are missing a default case and/or a terminating break in the default case.

Expected behavior
Relevant coding standards require that all non-empty switch cases (including default) are terminated by an unconditional break.

This is considered defensive coding for future code changes and improves consistency across cFE.

Reporter Info
Avi Weiss   @thnkslprpt

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions