Skip to content

Always handle the default case in switch statements #37

Description

@t-b

A switch statement should always handle the default case. Either with explicit code if that is expected or an Abort/Assertion if that is not expected.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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