Skip to content

Static Code Analysis Switch Case Missing Break #522

Open

Description

@arielswalker

Describe the bug
A static code analysis found a default case without a break. This was caught in pc-linux, but occurs in generic-vxworks-rpt as well as generic-qnx.

To Reproduce
Run the static code analysis.

Expected behavior
Add the break to the default case.

Code snips

default:
ComputedReason = "Unknown SIGFPE";

System observed on:
Internal static code analysis tool, RedHat, cFS dev

Reporter Info
Ariel Walker, MCSG TECH.

Activity

  1. self-assigned this
    on Nov 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

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