-
Notifications
You must be signed in to change notification settings - Fork 795
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
coverity 1021924: Missing break in switch #1780
Conversation
Problem: CID 1021924 (#1 of 1): Missing break in switch (MISSING_BREAK) unterminated_case: The case for value TS_EVENT_VCONN_WRITE_READY is not terminated by a 'break' statement. Solution: It was intended not to have a break (not a bug), so refactored the code to make coverity happy.
clang format failed! https://ci.trafficserver.apache.org/job/clang-format-github/377/ |
RAT check successful! https://ci.trafficserver.apache.org/job/RAT-github/389/ |
FreeBSD11 build successful! https://ci.trafficserver.apache.org/job/freebsd-github/2072/ |
Intel CC build successful! https://ci.trafficserver.apache.org/job/icc-github/502/ |
AU check successful! https://ci.trafficserver.apache.org/job/autest-github/373/ |
Linux build successful! https://ci.trafficserver.apache.org/job/linux-github/1965/ |
clang-analyzer build successful! https://ci.trafficserver.apache.org/job/clang-analyzer-github/635/ |
[approve ci] |
clang format successful! https://ci.trafficserver.apache.org/job/clang-format-github/378/ |
RAT check successful! https://ci.trafficserver.apache.org/job/RAT-github/390/ |
FreeBSD11 build successful! https://ci.trafficserver.apache.org/job/freebsd-github/2073/ |
Intel CC build successful! https://ci.trafficserver.apache.org/job/icc-github/503/ |
Linux build successful! https://ci.trafficserver.apache.org/job/linux-github/1966/ |
AU check failed! https://ci.trafficserver.apache.org/job/autest-github/375/ |
clang-analyzer build successful! https://ci.trafficserver.apache.org/job/clang-analyzer-github/636/ |
Problem:
CID 1021924 (#1 of 1): Missing break in switch (MISSING_BREAK)
unterminated_case: The case for value TS_EVENT_VCONN_WRITE_READY is not terminated by a 'break' statement.
Solution:
It was intended not to have a break (not a bug), so refactored the code to make coverity happy.