We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
switch
default
break
Checklist
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
The text was updated successfully, but these errors were encountered:
Fix nasa#2478, Add missing deafult/break to switch statements
deafult
b6eae4d
0f24968
b292fe6
5a464f5
a7654a2
Successfully merging a pull request may close this issue.
Checklist
Describe the bug
Several
switch
statements in cFE are missing adefault
case and/or a terminatingbreak
in thedefault
case.Expected behavior
Relevant coding standards require that all non-empty
switch
cases (includingdefault
) are terminated by an unconditionalbreak
.This is considered defensive coding for future code changes and improves consistency across cFE.
Reporter Info
Avi Weiss @thnkslprpt
The text was updated successfully, but these errors were encountered: