[x] I signed and emailed the appropriate Contributor License Agreement to GSFC-SoftwareRelease@mail.nasa.gov and copied cfs-program@lists.nasa.gov.
Describe the contribution
Fixes #77
Adds a break statement to the default case of the switch block.
Testing performed
GitHub CI actions (incl. Build + Run, Unit Tests etc.) all passing successfully.
Expected behavior changes
Purely a style/guidelines issue for consistency and future maintenance.
No change to logic (the default case would fall through to the bottom and exit the switch block even without a break statement).
Guidelines and cFS consistency dictate that all switch cases (including default) should be terminated by an unconditional break statement.
Checklist
Describe the contribution
break
statement to thedefault
case of theswitch
block.Testing performed GitHub CI actions (incl. Build + Run, Unit Tests etc.) all passing successfully.
Expected behavior changes Purely a style/guidelines issue for consistency and future maintenance. No change to logic (the
default
case would fall through to the bottom and exit the switch block even without abreak
statement). Guidelines and cFS consistency dictate that all switch cases (includingdefault
) should be terminated by an unconditionalbreak
statement.Contributor Info Avi Weiss @thnkslprpt